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