From f001dfc840332e9ef70b0c3a3c84cd7451d3e4bc Mon Sep 17 00:00:00 2001 From: Charlie Gettys Date: Fri, 29 Mar 2019 17:41:01 -0400 Subject: [PATCH] * Fix error in previous commit improving imports --- port/PyAssimp/pyassimp/helper.py | 6 +++--- port/PyAssimp/pyassimp/postprocess.py | 1 + 2 files changed, 4 insertions(+), 3 deletions(-) diff --git a/port/PyAssimp/pyassimp/helper.py b/port/PyAssimp/pyassimp/helper.py index 9042b7f9f..62384f54f 100644 --- a/port/PyAssimp/pyassimp/helper.py +++ b/port/PyAssimp/pyassimp/helper.py @@ -192,9 +192,9 @@ def try_load_functions(library_path, dll): # library found! from .structs import Scene, ExportDataBlob - load.restype = ctype.POINTER(Scene) - load_mem.restype = ctype.POINTER(Scene) - export2blob.restype = ctype.POINTER(ExportDataBlob) + load.restype = ctypes.POINTER(Scene) + load_mem.restype = ctypes.POINTER(Scene) + export2blob.restype = ctypes.POINTER(ExportDataBlob) return (library_path, load, load_mem, export, export2blob, release, dll) def search_library(): diff --git a/port/PyAssimp/pyassimp/postprocess.py b/port/PyAssimp/pyassimp/postprocess.py index 932c7c660..0c55d6798 100644 --- a/port/PyAssimp/pyassimp/postprocess.py +++ b/port/PyAssimp/pyassimp/postprocess.py @@ -435,6 +435,7 @@ aiProcess_Debone = 0x4000000 aiProcess_GenEntityMeshes = 0x100000 aiProcess_OptimizeAnimations = 0x200000 aiProcess_FixTexturePaths = 0x200000 +aiProcess_EmbedTextures = 0x10000000, ## @def aiProcess_ConvertToLeftHanded # @brief Shortcut flag for Direct3D-based applications.