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
b351d7804b
needed to assign some values as bool's
2009-11-22 22:09:06 +00:00
771406df94
- hide members of bpy from dir() and autocomp.
...
- path functions bpy.utils.script_paths(), bpy.utils_preset_paths(subdir)
- further simplified presets, use a generic draw function for preset menus and define the preset subdir and operator in the class
2009-11-22 11:23:19 +00:00
07db9033c9
* Minor Cleanup.
2009-11-22 10:06:08 +00:00
9e2ed89105
SSS presets, Thomas and I added these at the same time, however I meant to make this a more general system.
...
this commit shows how to add a preset using the base preset class and menu with minimal effort.
2009-11-22 00:22:29 +00:00
4f6b95480f
* Added Subsurface Scattering Presets.
...
Note: Add doesn't work, it writes some text into the file, not the values. (Maybe because the values are arrays?!)
Campbell, please check :)
2009-11-22 00:03:42 +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
cb7aff89e8
* Minor code cleanup.
2009-11-12 14:37:13 +00:00
bee2335aa0
Implemented suggestion be Matt to slightly tweak the code for single column UI
2009-11-12 13:05:12 +00:00
9596b369bd
Added single column UI layouts
...
This changes the layout when the properties window gets too narrow to render the contents properly.
Currently implemented for render, scene, world, object and materials, but the rest can be done easily.
Here's a video for demonstration:
http://www.reynish.com/files/blender25/properties_resize.mov
It automatically detects the window width and then skips the indicators that tells the layout to go to the next column. It requires very minimal changes to the UI scripts so we don't have to maintain two versions of the layouts.
2009-11-12 12:35:37 +00:00
cbc5a78576
whitespace commit, (was some tabs mixed with spaces too)
2009-11-03 07:23:02 +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