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:
authorChristoph Lendenfeld <chris.lend@gmx.at>2021-12-25 22:58:47 +0300
committerChristoph Lendenfeld <chris.lend@gmx.at>2021-12-25 22:58:47 +0300
commitf7ddb1ed8a2a646e3d04d5e2e46929673084149c (patch)
treed84ae6df91d7935a61c3737605820382dd8d9929 /release/scripts/startup/bl_ui/space_graph.py
parentfbd01624e3feb10add9d04672a3db0f52817423a (diff)
Breakdown Implementation
This patch adds the breakdown (or tween) functionality to the graph editor. The factor defines the linear interpolation from left key to right key. Reviewed by: Sybren A. Stüvel Differential Revision: https://developer.blender.org/D9375 Ref: D9375
Diffstat (limited to 'release/scripts/startup/bl_ui/space_graph.py')
-rw-r--r--release/scripts/startup/bl_ui/space_graph.py3
1 files changed, 2 insertions, 1 deletions
diff --git a/release/scripts/startup/bl_ui/space_graph.py b/release/scripts/startup/bl_ui/space_graph.py
index 497d68f88ca..3a668f61539 100644
--- a/release/scripts/startup/bl_ui/space_graph.py
+++ b/release/scripts/startup/bl_ui/space_graph.py
@@ -344,7 +344,8 @@ class GRAPH_MT_slider(Menu):
def draw(self, _context):
layout = self.layout
-
+
+ layout.operator("graph.breakdown", text="Breakdown")
layout.operator("graph.blend_to_neighbor", text="Blend To Neighbor")