- 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.
This commit is contained in:
Campbell Barton
2010-08-17 02:42:30 +00:00
parent d03c94d8d9
commit 5f7045f7af
4 changed files with 658 additions and 648 deletions

View File

@@ -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