diff options
author | Campbell Barton <ideasman42@gmail.com> | 2015-08-05 13:28:31 +0300 |
---|---|---|
committer | Campbell Barton <ideasman42@gmail.com> | 2015-08-05 13:28:31 +0300 |
commit | 7742926403d9d003de31e4c44797bf2df37b85d3 (patch) | |
tree | 12f8596b0b0c269353dcba21b5438bbe9f68a177 /release/scripts | |
parent | 7853cb3c5a43ee3d4168c3f0291e7ab9e9c3fa10 (diff) |
Only show interpolation buttons w/ bezier splines
Diffstat (limited to 'release/scripts')
-rw-r--r-- | release/scripts/startup/bl_ui/properties_data_curve.py | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/release/scripts/startup/bl_ui/properties_data_curve.py b/release/scripts/startup/bl_ui/properties_data_curve.py index eb8ffa1fb60..f83dea996e6 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:") |