radius interpolation was incorrectly greyed out for 2D curves.
authorCampbell Barton <ideasman42@gmail.com>
Thu, 13 Oct 2011 06:07:11 +0000 (06:07 +0000)
committerCampbell Barton <ideasman42@gmail.com>
Thu, 13 Oct 2011 06:07:11 +0000 (06:07 +0000)
release/scripts/startup/bl_ui/properties_data_curve.py

index 2e0b36a7a7560bd6cc854675dfb022617c2b238f..02e13966c48d60e31de5b1290ea16d49e0a3a952 100644 (file)
@@ -259,10 +259,11 @@ class DATA_PT_active_spline(CurveButtonsPanelActive, Panel):
             if not is_surf:
                 split = layout.split()
                 col = split.column()
-                col.active = (curve.dimensions == '3D')
 
                 col.label(text="Interpolation:")
-                col.prop(act_spline, "tilt_interpolation", text="Tilt")
+                colsub = col.column()
+                colsub.active = (curve.dimensions == '3D')
+                colsub.prop(act_spline, "tilt_interpolation", text="Tilt")
                 col.prop(act_spline, "radius_interpolation", text="Radius")
 
             layout.prop(act_spline, "use_smooth")