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,8 +77,8 @@ class SCENE_PT_unit(SceneButtonsPanel, Panel):
|
||||
col.row().prop(unit, "system", expand=True)
|
||||
col.row().prop(unit, "system_rotation", expand=True)
|
||||
|
||||
if unit.system != 'NONE':
|
||||
row = layout.row()
|
||||
row.active = (unit.system != 'NONE')
|
||||
row.prop(unit, "scale_length", text="Scale")
|
||||
row.prop(unit, "use_separate")
|
||||
|
||||
|
Reference in New Issue
Block a user