From 033b4ffdddab9aa70aada408941e463b023a76f6 Mon Sep 17 00:00:00 2001 From: Campbell Barton Date: Mon, 26 May 2014 22:09:22 +1000 Subject: Fix for curve map-taper being greyed out incorrectly --- release/scripts/startup/bl_ui/properties_data_curve.py | 9 ++++++--- 1 file changed, 6 insertions(+), 3 deletions(-) (limited to 'release') diff --git a/release/scripts/startup/bl_ui/properties_data_curve.py b/release/scripts/startup/bl_ui/properties_data_curve.py index acfc4d1e263..ecf9e5cab90 100644 --- a/release/scripts/startup/bl_ui/properties_data_curve.py +++ b/release/scripts/startup/bl_ui/properties_data_curve.py @@ -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): -- cgit v1.2.3