Only show interpolation buttons w/ bezier splines
authorCampbell Barton <ideasman42@gmail.com>
Wed, 5 Aug 2015 10:28:31 +0000 (20:28 +1000)
committerCampbell Barton <ideasman42@gmail.com>
Wed, 5 Aug 2015 10:28:31 +0000 (20:28 +1000)
release/scripts/startup/bl_ui/properties_data_curve.py

index eb8ffa1fb604f9fc62d45f0bb799937510b35dcf..f83dea996e6cabf2845fac3c9d5bab1c694f3f61 100644 (file)
@@ -286,7 +286,7 @@ class DATA_PT_active_spline(CurveButtonsPanelActive, Panel):
                 sub.prop(act_spline, "order_v", text="V")
                 sub.prop(act_spline, "resolution_v", text="V")
 
                 sub.prop(act_spline, "order_v", text="V")
                 sub.prop(act_spline, "resolution_v", text="V")
 
-            if not is_surf:
+            if act_spline.type == 'BEZIER':
                 col = layout.column()
                 col.label(text="Interpolation:")
 
                 col = layout.column()
                 col.label(text="Interpolation:")