Anim: Graph Editor Scale From Neighbor

Combination of two operators by Ares Deveaux
#106524 and #106523

Introduces a new operator "Scale from Neighbor"
that scales selected keyframe segments from either
the left or right keyframe neighbor.

Pressing "D" during modal operation will switch
from which end of the segment the scaling happens.

This is useful to make a section of animation closer to a pose on either side.

Co-authored-by: Ares Deveaux <aresdevo@gmail.com>
Pull Request: https://projects.blender.org/blender/blender/pulls/112387
This commit is contained in:
Christoph Lendenfeld
2023-12-21 10:46:43 +01:00
committed by Christoph Lendenfeld
parent e165624885
commit b27718a9e7
6 changed files with 220 additions and 0 deletions

View File

@@ -337,6 +337,7 @@ class GRAPH_MT_key_blending(Menu):
layout.operator("graph.push_pull", text="Push Pull")
layout.operator("graph.shear", text="Shear Keys")
layout.operator("graph.scale_average", text="Scale Average")
layout.operator("graph.scale_from_neighbor", text="Scale from Neighbor")
layout.operator("graph.time_offset", text="Time Offset")