UI / World Units:

* Consistency tweak: for properties based on an enum, we hide the buttons and do not grey out. 
Greying out is for properties based on a boolean.
This commit is contained in:
Thomas Dinges
2013-03-01 19:15:32 +00:00
parent 419ff87545
commit 70fba54545

View File

@@ -77,10 +77,10 @@ class SCENE_PT_unit(SceneButtonsPanel, Panel):
col.row().prop(unit, "system", expand=True) col.row().prop(unit, "system", expand=True)
col.row().prop(unit, "system_rotation", expand=True) col.row().prop(unit, "system_rotation", expand=True)
row = layout.row() if unit.system != 'NONE':
row.active = (unit.system != 'NONE') row = layout.row()
row.prop(unit, "scale_length", text="Scale") row.prop(unit, "scale_length", text="Scale")
row.prop(unit, "use_separate") row.prop(unit, "use_separate")
class SCENE_PT_keying_sets(SceneButtonsPanel, Panel): class SCENE_PT_keying_sets(SceneButtonsPanel, Panel):