From 7cd4e2781afcc164232ef7b9ea5cd3fc20165dea Mon Sep 17 00:00:00 2001 From: Brecht Van Lommel Date: Sat, 10 Jan 2009 22:57:33 +0000 Subject: 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. --- source/blender/python/epy_doc_gen.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'source/blender/python') diff --git a/source/blender/python/epy_doc_gen.py b/source/blender/python/epy_doc_gen.py index 99faf57a1bd..afe5468070b 100644 --- a/source/blender/python/epy_doc_gen.py +++ b/source/blender/python/epy_doc_gen.py @@ -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, '') -- cgit v1.2.3