Fix call to assimp.aiReleaseImport(), scene pointer was passed in incorrectly
git-svn-id: https://assimp.svn.sourceforge.net/svnroot/assimp/trunk@565 67173fc5-114c-0410-ac8e-9d2fd5bffc1fpull/1/head
parent
cc489f30e7
commit
9d2eacfdb2
|
@ -194,7 +194,8 @@ def load(filename, processing=0):
|
|||
return model.contents._init()
|
||||
|
||||
def release(scene):
|
||||
_assimp_lib.release(scene)
|
||||
from ctypes import pointer
|
||||
_assimp_lib.release(pointer(scene))
|
||||
|
||||
def aiGetMaterialFloatArray(material, key):
|
||||
AI_SUCCESS = 0
|
||||
|
|
Loading…
Reference in New Issue