浏览代码

Fix metadata property type declarations.

Wojciech Matyjewicz 7 年之前
父节点
当前提交
475ed6fdc3
共有 1 个文件被更改,包括 2 次插入2 次删除
  1. 2 2
      port/PyAssimp/pyassimp/structs.py

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

@@ -291,7 +291,7 @@ Node._fields_ = [
 
 
             # Metadata associated with this node or NULL if there is no metadata.
             # Metadata associated with this node or NULL if there is no metadata.
             # Whether any metadata is generated depends on the source file format.
             # Whether any metadata is generated depends on the source file format.
-            ("mMetadata", POINTER(POINTER(Metadata))),
+            ("mMetadata", POINTER(Metadata)),
         ]
         ]
 
 
 class Light(Structure):
 class Light(Structure):
@@ -939,7 +939,7 @@ class Scene(Structure):
             # This data contains global metadata which belongs to the scene like
             # This data contains global metadata which belongs to the scene like
             # unit-conversions, versions, vendors or other model-specific data. This
             # unit-conversions, versions, vendors or other model-specific data. This
             # can be used to store format-specific metadata as well.
             # can be used to store format-specific metadata as well.
-            ("mMetadata", POINTER(POINTER(Metadata))),
+            ("mMetadata", POINTER(Metadata)),
         ]
         ]
 
 
 assimp_structs_as_tuple = (Matrix4x4,
 assimp_structs_as_tuple = (Matrix4x4,