Welcome to mirror list, hosted at ThFree Co, Russian Federation.

git.blender.org/blender.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJoshua Leung <aligorith@gmail.com>2017-01-18 09:40:48 +0300
committerJoshua Leung <aligorith@gmail.com>2017-01-18 09:42:00 +0300
commit8d4b31ce03523b80c82a2de43cd53120a3089c46 (patch)
treefc719a4ec04abd3fca42a0fdfe7897ecbfc71310 /release/scripts/startup/bl_ui/properties_grease_pencil_common.py
parent65ec429d1176404fcedd0dc29c03476972ab303f (diff)
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)
Diffstat (limited to 'release/scripts/startup/bl_ui/properties_grease_pencil_common.py')
-rw-r--r--release/scripts/startup/bl_ui/properties_grease_pencil_common.py6
1 files changed, 5 insertions, 1 deletions
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")