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-9d2fd5bffc1f
pull/1/head
aramis_acg 2010-03-02 14:49:35 +00:00
parent cc489f30e7
commit 9d2eacfdb2
1 changed files with 2 additions and 1 deletions

View File

@ -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