Commit Graph

25 Commits

Author SHA1 Message Date
0a5d44588c switch verious references from py3.2 -> 3.3 or just 3. 2012-11-26 13:58:06 +00:00
d599b643b7 style cleanup: bge, switch statements mostly.
also left bmesh decimator on in previous commit.
2012-10-21 07:58:38 +00:00
dba5ef3ba8 code cleanup: python - pass multiple args to string startswith() / endswith() functions rather than calling multiple times. 2012-09-04 20:26:42 +00:00
c6051ea87b replace python3 command with python3.2, python3 isnt available on ubuntu. 2012-05-01 20:45:16 +00:00
617d3cb852 pass -noaudio when running blender for various utilities - doc-gen and tests. 2011-10-19 21:55:27 +00:00
0c0259d931 fix [#28909] OpenCollada export / import sintel lite v2.1 crashes on import. 2011-10-14 02:31:04 +00:00
eee445590a rna naming mainly forBoids 2010-08-19 15:49:30 +00:00
a34721d24b minor update rna namer and script to automatically apply updates from blender to rna_properties.txt 2010-08-18 03:05:14 +00:00
5f7045f7af - 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.
2010-08-17 02:42:30 +00:00
5ab7047f65 merged rna names with newly created dump from rna_info.py 2010-08-16 17:57:39 +00:00
e2a6a0b377 change for sorting rna cleaner (was broken), diff's on rna_properties.txt will stop being so big now. 2010-08-15 16:50:58 +00:00
310cc16fd6 more rna naming edits 2010-08-15 12:32:37 +00:00
66cbb0d973 restrict prefix checking to booleans for now 2010-08-09 07:05:37 +00:00
8d517cff33 rna refactor...
- added a script to merge 2 lists of rna renaming from/to
- merged rna_booleans.txt into rna_properties.txt
- made rna_cleaner.py sort by class.from by default.
2010-08-09 06:55:20 +00:00
fd31436897 spelling correction: alredy --> already 2010-07-17 18:08:14 +00:00
7df9df1373 == rna cleanup ==
- after talking with brecht, changes keys prefixes with "is_pressed_alt" and so on if readonly and "pressed_alt" if not readonly
- updated the rna_cleaner.py with real prefixes and keywords so it's clear what it is being used

    kw_prefixes = [ 'active','apply','bl','exclude','has','invert','is','lock', \
                    'pressed','show','show_only','use','use_only','layers','states']
    kw = ['active','hide','invert','select','layers','mute','states','use','lock']
2010-07-15 18:34:25 +00:00
ded8ba1d90 - more misc rna rename updates
- edited the rna_cleaner.py script to use repr() on descriptions so quotes dont result in invalid generated python scripts.
2010-07-12 23:43:14 +00:00
2a95a246ed color balance can now be animated in the sequencer. 2010-07-06 16:44:05 +00:00
a0e1221472 complain if running with py2 2010-07-06 14:30:31 +00:00
513c8738ce == rna cleanup ==
small fixes adnm tentative new keywords
those discussed by campbell and brecht are still there, but commented
with these keywords I'm happy how booleans went, committing to discuss with cambpell
2010-07-06 13:56:50 +00:00
3a47839a31 == rna cleanup ==
- fixed a bug: it wasn't updating checks when importing from py file
- removed the global input_filename, I didn't like it very much
2010-07-01 10:52:15 +00:00
e7d78649cb == rna cleanup ==
Re-introducing the modification made by Cambpell yesterday [rev., I copied the file over and forgot to restore this.
Sorry for the noise :)
2010-06-29 17:23:48 +00:00
3c1e97d1ff == rna cleanup ==
- rna_api.py now doesn't have work parameters anymore (note, changes, keyword-check)
- header implementation fixed
- removed 3 unuseful/already commented lines
- renamed a function
2010-06-29 12:13:29 +00:00
3166136da7 update from discussion with brecht. 2010-06-28 16:52:57 +00:00
b082401e88 == rna cleanup script ==
- new folder rna_cleanup/
- moved na_api_cleanup.txt in rna_cleanup/
- rna_cleaner.py is a script to help cleaning rna names, pasting the help below for those interested

Basically after you run this on a original file, the script produces 2 file .txt and .py that you can edit.
You can skip to edit things liek "changed" or "same" or check if the "to" field is correct or not.
When you re-run this script it will check these thigns and will produce a consistent output file again.

Also, you can sort lines at will.

$ ./rna_cleaner.py -h

HELP:
Run this script to re-format the edits you make in the input file.
Do quick modification to important fields like 'to' and don't care about fields like 'changed' or 'description' and save.
The script outputs 3 files:
   1) *_clean.txt: is formatted same as the .txt input, can be edited by user.
   2) *_clean.py: is formatted same as the .py input, can be edited by user.
   3) rna_api.py is not formatted for readability and go under complete check. Can be used for rna cleanup.


USAGE:
./rna_cleaner.py input-file (.txt|.py) order-priority (note|changed|class|from|to|kw).
./rna_cleaner.py -h for help
2010-06-28 15:29:18 +00:00