Page MenuHome

Pose Slide Operator: Blend To Neighbour
ClosedPublic

Authored by Christoph Lendenfeld (ChrisLend) on Oct 7 2020, 5:41 PM.

Details

Summary

Split off from D9054

This patch adds a "Blend To Neighbour" Operator to the pose sliding tools.

Problem
When animating you often want to nudge your current pose to the neighbouring poses slightly.

The breakdowner would override the current pose completely.

Solution
Instead of interpolating between the left and right key, this operator interpolates from the current pose to either left or right, depending if the percentage is bigger or smaller than 50%.
This graphic should explain how it works compared to the Breakdowner

There is a menu entry for the new operator. It is also registered under the ALT + SHIFT + E hotkey

Limitations and future improvements
POSE_OT_blend_to_neighbours doesn't respect an unkeyed position. In fact none of the operators do, but this hasn't been an issue until now.
The tools still only work in pose mode. It would be good for them to work in object mode as well.

Video Demonstration

Build
graphicall not working for me. so gdrive instead
https://drive.google.com/file/d/1pvXmjYjGD9g8_34FCE-1AI7YN7yQ6WHl/view?usp=sharing

Diff Detail

Repository
rB Blender
Branch
local_blend_op (branched from master)
Build Status
Buildable 10610
Build 10610: arc lint + arc unit

Event Timeline

Christoph Lendenfeld (ChrisLend) requested review of this revision.Oct 7 2020, 5:41 PM
Christoph Lendenfeld (ChrisLend) created this revision.

LGTM!

There is one minor change in an in-line note, no need to resubmit for review after fixing that.

Be sure to also update the release notes.

source/blender/editors/armature/pose_slide.c
396

can be const

This revision is now accepted and ready to land.Sep 22 2021, 12:34 PM