From 475ed6fdc3a58bfbe350a3e341d82a0641403f2c Mon Sep 17 00:00:00 2001 From: Wojciech Matyjewicz Date: Sat, 1 Sep 2018 10:15:09 +0200 Subject: [PATCH] Fix metadata property type declarations. --- port/PyAssimp/pyassimp/structs.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/port/PyAssimp/pyassimp/structs.py b/port/PyAssimp/pyassimp/structs.py index 0a7742705..7cd8e634c 100644 --- a/port/PyAssimp/pyassimp/structs.py +++ b/port/PyAssimp/pyassimp/structs.py @@ -291,7 +291,7 @@ Node._fields_ = [ # Metadata associated with this node or NULL if there is no metadata. # Whether any metadata is generated depends on the source file format. - ("mMetadata", POINTER(POINTER(Metadata))), + ("mMetadata", POINTER(Metadata)), ] class Light(Structure): @@ -939,7 +939,7 @@ class Scene(Structure): # This data contains global metadata which belongs to the scene like # unit-conversions, versions, vendors or other model-specific data. This # can be used to store format-specific metadata as well. - ("mMetadata", POINTER(POINTER(Metadata))), + ("mMetadata", POINTER(Metadata)), ] assimp_structs_as_tuple = (Matrix4x4,