[Bf-blender-cvs] [7742926] master: Only show interpolation buttons w/ bezier splines

Campbell Barton noreply at git.blender.org
Wed Aug 5 12:34:08 CEST 2015


Commit: 7742926403d9d003de31e4c44797bf2df37b85d3
Author: Campbell Barton
Date:   Wed Aug 5 20:28:31 2015 +1000
Branches: master
https://developer.blender.org/rB7742926403d9d003de31e4c44797bf2df37b85d3

Only show interpolation buttons w/ bezier splines

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

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 eb8ffa1..f83dea9 100644
--- a/release/scripts/startup/bl_ui/properties_data_curve.py
+++ b/release/scripts/startup/bl_ui/properties_data_curve.py
@@ -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:")




More information about the Bf-blender-cvs mailing list