Only show interpolation buttons w/ bezier splines
[blender.git] / 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")
 
-            if not is_surf:
+            if act_spline.type == 'BEZIER':
                 col = layout.column()
                 col.label(text="Interpolation:")