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:
authorCampbell Barton <ideasman42@gmail.com>2010-08-17 06:42:30 +0400
committerCampbell Barton <ideasman42@gmail.com>2010-08-17 06:42:30 +0400
commit5f7045f7afb0034a91b4474e8645d09f371ccfcf (patch)
tree533db2cab3270ab9bf0ef267e173bbaa30fb86b5 /source/blender/makesrna/rna_cleanup/rna_cleaner.py
parentd03c94d8d95513fb1593a61391ec152cbc4bc39f (diff)
- rna_info.py now outputs array length with types eg. float[16].
- corrected rna property name Controller.states -> state (pointed out by Dalai). - rna_cleaner_merge script now only merges comment and new name.
Diffstat (limited to 'source/blender/makesrna/rna_cleanup/rna_cleaner.py')
-rwxr-xr-xsource/blender/makesrna/rna_cleanup/rna_cleaner.py7
1 files changed, 7 insertions, 0 deletions
diff --git a/source/blender/makesrna/rna_cleanup/rna_cleaner.py b/source/blender/makesrna/rna_cleanup/rna_cleaner.py
index ed483deb889..a63a715a13a 100755
--- a/source/blender/makesrna/rna_cleanup/rna_cleaner.py
+++ b/source/blender/makesrna/rna_cleanup/rna_cleaner.py
@@ -253,6 +253,13 @@ def write_files(basename, props_list, props_length_max):
props_list = [['NOTE', 'CHANGED', 'CLASS', 'FROM', 'TO', 'KEYWORD-CHECK', 'TYPE', 'DESCRIPTION']] + props_list
for props in props_list:
#txt
+
+ # FOR PY OUTPUT!
+ '''
+ if props[3] == props[4]: txt += "#"
+ else: txt += " "
+ '''
+
if props[0] != '': txt += '%s * ' % props[0] # comment
txt += '%s.%s -> %s: %s "%s"\n' % tuple(props[2:5] + props[6:]) # skipping keyword-check
# rna_api