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:
@@ -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")
|
||||
|
||||
|
||||
Reference in New Issue
Block a user