*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.
This commit is contained in:
2009-11-14 23:24:15 +00:00
parent d04f94d0c6
commit 888565e248
9 changed files with 360 additions and 328 deletions

View File

@@ -106,7 +106,10 @@ class MATERIAL_PT_context_material(MaterialButtonsPanel):
split.template_ID(space, "pin_id")
split.itemS()
else:
layout.template_ID(ob, "active_material", new="material.new")
if ob:
layout.template_ID(ob, "active_material", new="material.new")
elif mat:
layout.template_ID(space, "pin_id")
if mat:
if col2: