Explorar o código

fix field name "Mesh.mAnimMesh" -> "Mesh.mAnimMeshes"

to match the name in mesh.h: aiMesh.mAnimMeshes
IOhannes m zmölnig %!s(int64=5) %!d(string=hai) anos
pai
achega
630f013a5e
Modificáronse 1 ficheiros con 1 adicións e 1 borrados
  1. 1 1
      port/PyAssimp/pyassimp/structs.py

+ 1 - 1
port/PyAssimp/pyassimp/structs.py

@@ -752,7 +752,7 @@ class Mesh(Structure):
             # Attachment meshes carry replacement data for some of the
             # Attachment meshes carry replacement data for some of the
             # mesh'es vertex components (usually positions, normals).
             # mesh'es vertex components (usually positions, normals).
             # Note! Currently only works with Collada loader.
             # Note! Currently only works with Collada loader.
-            ("mAnimMesh", POINTER(POINTER(AnimMesh))),
+            ("mAnimMeshes", POINTER(POINTER(AnimMesh))),
 
 
             # Method of morphing when animeshes are specified.
             # Method of morphing when animeshes are specified.
             ("mMethod", c_uint),
             ("mMethod", c_uint),