Fix for curve map-taper being greyed out incorrectly
This commit is contained in:
@@ -196,9 +196,12 @@ class DATA_PT_geometry_curve(CurveButtonsPanelCurve, Panel):
|
|||||||
row.prop(curve, "bevel_factor_end", text="End")
|
row.prop(curve, "bevel_factor_end", text="End")
|
||||||
|
|
||||||
row = layout.row()
|
row = layout.row()
|
||||||
row.active = curve.bevel_object is not None
|
sub = row.row()
|
||||||
row.prop(curve, "use_map_taper")
|
sub.active = curve.taper_object is not None
|
||||||
row.prop(curve, "use_fill_caps")
|
sub.prop(curve, "use_map_taper")
|
||||||
|
sub = row.row()
|
||||||
|
sub.active = curve.bevel_object is not None
|
||||||
|
sub.prop(curve, "use_fill_caps")
|
||||||
|
|
||||||
|
|
||||||
class DATA_PT_pathanim(CurveButtonsPanelCurve, Panel):
|
class DATA_PT_pathanim(CurveButtonsPanelCurve, Panel):
|
||||||
|
|||||||
Reference in New Issue
Block a user