Fix for curve map-taper being greyed out incorrectly

This commit is contained in:
Campbell Barton 2014-05-26 22:09:22 +10:00
parent 91a91b9362
commit 033b4ffddd
1 changed files with 6 additions and 3 deletions

View File

@ -196,9 +196,12 @@ class DATA_PT_geometry_curve(CurveButtonsPanelCurve, Panel):
row.prop(curve, "bevel_factor_end", text="End")
row = layout.row()
row.active = curve.bevel_object is not None
row.prop(curve, "use_map_taper")
row.prop(curve, "use_fill_caps")
sub = row.row()
sub.active = curve.taper_object is not None
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):