[Bf-blender-cvs] [033b4ff] master: Fix for curve map-taper being greyed out incorrectly

Campbell Barton noreply at git.blender.org
Mon May 26 16:01:48 CEST 2014


Commit: 033b4ffdddab9aa70aada408941e463b023a76f6
Author: Campbell Barton
Date:   Mon May 26 22:09:22 2014 +1000
https://developer.blender.org/rB033b4ffdddab9aa70aada408941e463b023a76f6

Fix for curve map-taper being greyed out incorrectly

===================================================================

M	release/scripts/startup/bl_ui/properties_data_curve.py

===================================================================

diff --git a/release/scripts/startup/bl_ui/properties_data_curve.py b/release/scripts/startup/bl_ui/properties_data_curve.py
index acfc4d1..ecf9e5c 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):




More information about the Bf-blender-cvs mailing list