Welcome to mirror list, hosted at ThFree Co, Russian Federation.

git.blender.org/blender.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorBrecht Van Lommel <brechtvanlommel@pandora.be>2009-01-11 01:57:33 +0300
committerBrecht Van Lommel <brechtvanlommel@pandora.be>2009-01-11 01:57:33 +0300
commit7cd4e2781afcc164232ef7b9ea5cd3fc20165dea (patch)
treee729a87c98127a12b7f58810e00324f95e1cae1f /source/blender/python
parent6ab86a7572435c3df0a3c613bca8a3d0566e39e7 (diff)
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.
Diffstat (limited to 'source/blender/python')
-rw-r--r--source/blender/python/epy_doc_gen.py4
1 files changed, 2 insertions, 2 deletions
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, '')