b8ca67ca33
custom properties panels for most ID types. use subclassing to keep panel UI definitions minimal
2010-01-08 08:54:41 +00:00
28b1824fd0
Bugfix #20605 : Shape key values not keyable from mesh data panel. Keyable from Datablock browser.
...
See the bugreport comments for full breakdown of the fix.
--
The change in brush.c is to get blender compiling again, after my previous commit which tried to fix a compiler warning related to this (but in the header file instead).
2010-01-08 02:02:52 +00:00
0cbf63bac9
add operator icon for shape key transfer in panel,
2010-01-06 11:38:58 +00:00
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
e0fc6d0c33
more ui api changes.
...
- remove functions such as operator_int(), operator_enum(), operator_string
this mixed with keyword arguments in a way that made them hard to read.
Instead, have operator() always return properties rather then needing an argument.
- rename prop_pointer() --> prop_object(), pointer is more a C thing.
- missed item_enumR(), rename to prop_enum()
2009-11-23 11:43:38 +00:00
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
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
b751bc5ef2
* More small modifier improvements by nudelZ.
...
* Code cleanup.
2009-11-20 20:40:29 +00:00
2577bfddfd
Renamed "col2" to "wide_ui" which is more meaningful.
2009-11-19 13:26:51 +00:00
888565e248
*More single column stuff.
...
*Fixed and changed minor layout issues in curve and game properties
*Merged Curve and Text properties py file as they share a lot of options.
2009-11-14 23:24:15 +00:00
d33291fcc4
used py error checking tools to fix some bugs & make pep8 corrections
2009-11-14 13:35:44 +00:00
fbb2c38485
Implemented single column UI for textures, curve, mesh and empty.
...
Reverted 24524 materials change because it it made greying out not work correctly.
2009-11-12 15:41:44 +00:00
18a5cd095a
* Removed "Lock" Prefix from items inside Transform Lock Panel for consistency.
...
* Code cleanup to match guidelines, we don't use subrow1 or so anymore, remember? :)
2009-11-08 11:07:00 +00:00
4e61f8a836
pep8 whitespace commit
...
bpy/rna api (no functionality change, just move getting the srna py base into a function)
2009-11-07 22:07:46 +00:00
2907c6fdf0
Moved the buttons around slightly in shape keys, to make it clearer what is action buttons, and what is toggles.
2009-11-05 14:31:17 +00:00
cbc5a78576
whitespace commit, (was some tabs mixed with spaces too)
2009-11-03 07:23:02 +00:00
9e9ab1a227
*Added subdivide to armature toolbar, and gave it a hotkey (W)
...
*Fixed some remaining icon issue in the shape key properties
2009-11-02 13:20:14 +00:00
9ea292290b
Correct GPL license header for all python scripts
2009-11-01 15:21:20 +00:00
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
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
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