UI: Fix wrong properties being grayed out

This has been mentioned in T68610.
This commit is contained in:
Jacques Lucke
2019-08-13 15:45:54 +02:00
parent 03bf84db86
commit 6e7ea807e1

View File

@@ -147,13 +147,13 @@ class BONE_PT_curved(BoneButtonsPanel, Panel):
layout.prop(bone, "bbone_segments", text="Segments")
topcol = layout.column()
topcol.active = bone.bbone_segments > 1
col = topcol.column(align=True)
col = layout.column(align=True)
col.prop(bone, "bbone_x", text="Display Size X")
col.prop(bone, "bbone_z", text="Z")
topcol = layout.column()
topcol.active = bone.bbone_segments > 1
col = topcol.column(align=True)
col.prop(bbone, "bbone_curveinx", text="Curve In X")
col.prop(bbone, "bbone_curveiny", text="In Y")