RNA
* Finished DNA_lamp_types.h, DNA_world_types.h and DNA_sound_types.h. * Renamed "parent" struct property to "nested", and also remaining "from" usage to "base". * Added a NEVER_NULL subtype for pointers and use it for all properties that apply. * Make sure all structs have a description, and fix any other DOC_BROKEN descriptions, also many other naming consistency improvements.
This commit is contained in:
@@ -111,7 +111,7 @@ def rna2epy(target_path):
|
||||
|
||||
# Now write children recursively
|
||||
for child in structs:
|
||||
if rna_struct == child.parent:
|
||||
if rna_struct == child.nested:
|
||||
write_struct(child, structs, ident + '\t')
|
||||
|
||||
|
||||
@@ -155,7 +155,7 @@ def rna2epy(target_path):
|
||||
|
||||
|
||||
for rna_struct in structs:
|
||||
if rna_struct.parent:
|
||||
if rna_struct.nested:
|
||||
continue
|
||||
|
||||
write_struct(rna_struct, structs, '')
|
||||
|
Reference in New Issue
Block a user