diff options
author | Campbell Barton <ideasman42@gmail.com> | 2010-08-19 19:49:30 +0400 |
---|---|---|
committer | Campbell Barton <ideasman42@gmail.com> | 2010-08-19 19:49:30 +0400 |
commit | eee445590a29df35bc27482660937115546f635e (patch) | |
tree | 5327ae9e1ec3e5e2615870840a5b22919b46a486 /source/blender/makesrna/rna_cleanup/rna_cleaner.py | |
parent | 8e388a8f49da1f8709db3ace0b6590ac71503c6c (diff) |
rna naming mainly forBoids
Diffstat (limited to 'source/blender/makesrna/rna_cleanup/rna_cleaner.py')
-rwxr-xr-x | source/blender/makesrna/rna_cleanup/rna_cleaner.py | 9 |
1 files changed, 6 insertions, 3 deletions
diff --git a/source/blender/makesrna/rna_cleanup/rna_cleaner.py b/source/blender/makesrna/rna_cleanup/rna_cleaner.py index 71a5a4eb611..ae17ade36d7 100755 --- a/source/blender/makesrna/rna_cleanup/rna_cleaner.py +++ b/source/blender/makesrna/rna_cleanup/rna_cleaner.py @@ -114,14 +114,17 @@ def get_props_from_txt(input_filename): done = 0 tot = 0 - for line in file_lines: + for iii, line in enumerate(file_lines): # debug #print(line) - + line_strip = line.strip() # empty line or comment - if not line.strip(): + if not line_strip: continue + + if line_strip == "EOF": + break if line.startswith("#"): line = line[1:] |