2.5: Layout Python Files:

* Code cleanup.
* Made some files match the code guidelines, should be all now.
Please everybody use them: http://wiki.blender.org/index.php/Dev:Py/Blender2.5/Layouts/Guidelines
* Made polls and header_draw functions as small as possible. 

* Small fixes here and there.
This commit is contained in:
2009-09-01 00:33:39 +00:00
parent 121f310fab
commit 04bbb6a0c7
22 changed files with 362 additions and 441 deletions

View File

@@ -27,6 +27,7 @@ class DATA_PT_modifiers(DataButtonsPanel):
# the mt.type enum is (ab)used for a lookup on function names
# ...to avoid lengthy if statements
# so each type must have a function here.
def ARMATURE(self, layout, ob, md):
layout.itemR(md, "object")