Quellcode durchsuchen

Improved some comments

Vincent Fazio vor 7 Jahren
Ursprung
Commit
ef4e317625
2 geänderte Dateien mit 3 neuen und 1 gelöschten Zeilen
  1. 1 1
      port/PyAssimp/pyassimp/core.py
  2. 2 0
      port/PyAssimp/pyassimp/structs.py

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

@@ -370,7 +370,7 @@ def export_blob(scene,
                               pyassimp.postprocess.aiProcess_OptimizeMeshes)
     Returns
     ---------
-    ExportBlob
+    Pointer to structs.ExportDataBlob
     '''
     from ctypes import pointer
     exportBlobPtr = _assimp_lib.export_blob(pointer(scene), file_type.encode("ascii"), processing)

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

@@ -999,6 +999,8 @@ class Animation(Structure):
 class ExportDataBlob(Structure):
     """
     See 'cexport.h' for details.
+
+    Note that the '_fields_' definition is outside the class to allow the 'next' field to be recursive
     """
     pass