UI: Fix wrong properties being grayed out
This has been mentioned in T68610.
This commit is contained in:
@@ -147,13 +147,13 @@ class BONE_PT_curved(BoneButtonsPanel, Panel):
|
|||||||
|
|
||||||
layout.prop(bone, "bbone_segments", text="Segments")
|
layout.prop(bone, "bbone_segments", text="Segments")
|
||||||
|
|
||||||
topcol = layout.column()
|
col = layout.column(align=True)
|
||||||
topcol.active = bone.bbone_segments > 1
|
|
||||||
|
|
||||||
col = topcol.column(align=True)
|
|
||||||
col.prop(bone, "bbone_x", text="Display Size X")
|
col.prop(bone, "bbone_x", text="Display Size X")
|
||||||
col.prop(bone, "bbone_z", text="Z")
|
col.prop(bone, "bbone_z", text="Z")
|
||||||
|
|
||||||
|
topcol = layout.column()
|
||||||
|
topcol.active = bone.bbone_segments > 1
|
||||||
|
|
||||||
col = topcol.column(align=True)
|
col = topcol.column(align=True)
|
||||||
col.prop(bbone, "bbone_curveinx", text="Curve In X")
|
col.prop(bbone, "bbone_curveinx", text="Curve In X")
|
||||||
col.prop(bbone, "bbone_curveiny", text="In Y")
|
col.prop(bbone, "bbone_curveiny", text="In Y")
|
||||||
|
|||||||
Reference in New Issue
Block a user