Campbell Barton
7c0d2ffb64
pep8 cleanup
2010-03-06 01:40:29 +00:00
Joshua Leung
4b80d4e60d
AnimViz (Motion Paths + Ghosting) panels are registered so that they will show up in a sensible location in the properties window. Also made these panels collapsed by default.
2010-02-25 12:01:43 +00:00
Campbell Barton
97bdfe6f1b
pep8 cleanup + correction for external player operator return value.
2010-02-22 23:32:58 +00:00
Campbell Barton
23efeff6a9
[ #21177 ] Text editor
...
Running scripts directly didnt call the register function, even though this is not essential its good to be able to run a script directly and see changes in the UI.
2010-02-16 09:55:07 +00:00
Campbell Barton
39c04315e2
change python scripts so modules which register with blender have a register() function rather then making import automatically run the register functions (generally considered bad practice by python people)
2010-02-14 11:21:21 +00:00
Campbell Barton
081c1205a3
correct fsf address
2010-02-12 13:34:04 +00:00
Campbell Barton
95069f2909
pep8 changes
2010-01-31 14:46:28 +00:00
Joshua Leung
c94f385fce
Bugfix #20806 : Remove button removes entire bone group not bone from group
...
Thanks to kristijonas vaicekauskas (krizas) for the patch
2010-01-24 23:18:48 +00:00
Joshua Leung
7759fc2983
Motion Paths - (Part 3) Operators, Drawing, and Fixes
...
This commit makes the new-style Motion Paths work for Objects and Bones. Motion Paths can either be added for Objects (Object buttons) or for Selected Bones in PoseMode (Armature Buttons), and/or removed from these panels too.
Changes:
* Changed the way the baking code worked, since it was better to be able to bake a bunch of objects at once, instead of doing it per object
* Fixed a variety of bugs regarding initialising defaults and reading old files
* Added operators for Objects (like for bones), and replaced the existing code for bones.
* Fixed bug with baking code that was causing it to bake the wrong ranges
Todos:
* Frame number drawing is currently messed up, since the "cached" text drawing takes into account the object transforms.
* The new MotionPath panels currently appear as the first panels in the respective contexts, probably due to the order in which the files are included. This needs some fixing, though not sure what the best way is yet.
2010-01-19 11:31:49 +00:00
Campbell Barton
b8ca67ca33
custom properties panels for most ID types. use subclassing to keep panel UI definitions minimal
2010-01-08 08:54:41 +00:00
Campbell Barton
79bb5419cc
armature properties panel
2010-01-07 22:51:17 +00:00
Joshua Leung
a7d268d38e
Cessen Rigging Request: "Copy Transforms" Constraint
...
This constraint simply copies the transformation matrix of the target, and assigns it to the owner.
2010-01-02 04:14:17 +00:00
Campbell Barton
944a4f2a3f
pep8 edits, removed MakeCursor.py and rna_array.py, not important to make pep8
2009-12-26 09:36:50 +00:00
Campbell Barton
01dd4ea13a
fix for python error
2009-12-17 13:14:29 +00:00
Campbell Barton
3ea2d08e1a
pep8 changes
2009-12-16 13:27:30 +00:00
Roland Hess
921d4b8eb0
Applies Patch 20200
...
Shuffle IK Restriction and iTaSC parameter panels into more fitting context.
2009-12-14 03:01:42 +00:00
Campbell Barton
b5740b0e77
remove ICON prefix from the enum, for python this is redundant eg.
...
layout.prop("setting", icon='ICON_BLAH_BLAH')
Also reverted previous commit, the cursor subtype just needed to be added to the switch statement.
2009-12-10 10:23:53 +00:00
Campbell Barton
caab05ec8c
rna UI api rename...
...
note: this aims to follow pep8 however I chose to use 'prop/props' rather then 'property/properties' because it would make function names too long.
itemR() --> prop()
items_enumR() --> props_enum()
item_menu_enumR() --> prop_menu_enum()
item_pointerR() --> prop_pointer()
itemO() --> operator()
item_enumO() --> operator_enum()
items_enumO() --> operator_enums()
item_menu_enumO() --> operator_menu_enum()
item_booleanO() --> operator_boolean()
item_intO() --> operator_int()
item_floatO() --> operator_float()
item_stringO() --> operator_string()
itemL() --> label()
itemM() --> menu()
itemS() --> separator()
batch script used http://www.pasteall.org/9345
2009-11-23 00:27:30 +00:00
Campbell Barton
bdb8004165
use is rather then == when comparing with singletons (None/False/True), its faster and suggested by pep8
2009-11-22 17:41:35 +00:00
Thomas Dinges
2577bfddfd
Renamed "col2" to "wide_ui" which is more meaningful.
2009-11-19 13:26:51 +00:00
Campbell Barton
d33291fcc4
used py error checking tools to fix some bugs & make pep8 corrections
2009-11-14 13:35:44 +00:00
William Reynish
4123c1fd7b
Made a few more property areas work with a single column.
...
Also fixed a few minor layout issues.
2009-11-12 21:44:35 +00:00
Campbell Barton
cbc5a78576
whitespace commit, (was some tabs mixed with spaces too)
2009-11-03 07:23:02 +00:00
Martin Poirier
9ea292290b
Correct GPL license header for all python scripts
2009-11-01 15:21:20 +00:00
Campbell Barton
d964808846
made scripts pass the pep8 test (though not fully pep8 yet)
...
added comment in header to know if a script has been converted or not.
2009-10-31 23:35:56 +00:00
Campbell Barton
41c0236aaa
GPL2 header from firebird (without disclaimer), notice theres no copyright attributed and only the GPLv2 (without the v2 or later clause).
...
Contributors list isnt used much in our C code so probably its easier if people just use svn blame for this.
Can change if this isnt acceptable but I guessed people didnt care so much since most scripts had no header.
2009-10-31 20:16:59 +00:00
Campbell Barton
944a8d33fe
renamed buttons ui files to properties to match UI name change, needed to update some imports too
2009-10-31 19:57:59 +00:00