mirror of
https://github.com/panda3d/panda3d.git
synced 2025-09-29 00:06:44 -04:00
*** empty log message ***
This commit is contained in:
parent
c6fc1c9ad2
commit
9c7790cc63
@ -72,13 +72,14 @@ def outputGlobalFileImports(file, methodList, CModuleName):
|
|||||||
for argType in argTypes:
|
for argType in argTypes:
|
||||||
# Get the real return type (not derived)
|
# Get the real return type (not derived)
|
||||||
argType = argType.typeDescriptor.recursiveTypeDescriptor()
|
argType = argType.typeDescriptor.recursiveTypeDescriptor()
|
||||||
argTypeName = argType.foreignTypeName
|
if (not argType.isNested):
|
||||||
# Do not put our own module in the import list
|
argTypeName = argType.foreignTypeName
|
||||||
# Do not put modules already in the list (like a set)
|
# Do not put our own module in the import list
|
||||||
if (not (argTypeName in moduleList)):
|
# Do not put modules already in the list (like a set)
|
||||||
# If this is a class (not a primitive), put it on the list
|
if (not (argTypeName in moduleList)):
|
||||||
if (argType.__class__ == FFITypes.ClassTypeDescriptor):
|
# If this is a class (not a primitive), put it on the list
|
||||||
moduleList.append(argTypeName)
|
if (argType.__class__ == FFITypes.ClassTypeDescriptor):
|
||||||
|
moduleList.append(argTypeName)
|
||||||
|
|
||||||
|
|
||||||
for moduleName in moduleList:
|
for moduleName in moduleList:
|
||||||
|
Loading…
x
Reference in New Issue
Block a user