From 8d4b31ce03523b80c82a2de43cd53120a3089c46 Mon Sep 17 00:00:00 2001 From: Joshua Leung Date: Wed, 18 Jan 2017 19:40:48 +1300 Subject: GP Interpolation: "Remove Breakdowns" operator To make it faster to try different interpolation curves, there's a new operator "Remove Breakdowns" which will delete all breakdowns sandwiched by normal keyframes (i.e. all the ones that the previous run of the Interpolation op created) --- release/scripts/startup/bl_ui/properties_grease_pencil_common.py | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) (limited to 'release/scripts/startup/bl_ui/properties_grease_pencil_common.py') diff --git a/release/scripts/startup/bl_ui/properties_grease_pencil_common.py b/release/scripts/startup/bl_ui/properties_grease_pencil_common.py index 1f06b202adc..3d68930e632 100644 --- a/release/scripts/startup/bl_ui/properties_grease_pencil_common.py +++ b/release/scripts/startup/bl_ui/properties_grease_pencil_common.py @@ -247,7 +247,7 @@ class GreasePencilStrokeEditPanel: class GreasePencilInterpolatePanel: bl_space_type = 'VIEW_3D' - bl_label = "Interpolate..." + bl_label = "Interpolate" bl_category = "Grease Pencil" bl_region_type = 'TOOLS' bl_options = {'DEFAULT_CLOSED'} @@ -270,6 +270,10 @@ class GreasePencilInterpolatePanel: col = layout.column(align=True) col.operator("gpencil.interpolate", text="Interpolate") col.operator("gpencil.interpolate_sequence", text="Sequence") + col.operator("gpencil.interpolate_reverse", text="Remove Breakdowns") + + col = layout.column(align=True) + col.label(text="Options:") col.prop(settings, "interpolate_all_layers") col.prop(settings, "interpolate_selected_only") -- cgit v1.2.3