Pose Library: allow extrapolating the pose
While blending, press E to enable extrapolation / overshoot of the pose. It will make it possible to blend in more than 100% of the pose asset. This has the potential to completely break the rig, but it can be useful to exaggerate poses when used with caution.
This commit is contained in:
parent
d1810d11f4
commit
74c4977aea
Notes:
blender-bot
2023-04-14 09:18:04 +02:00
Referenced by commit 8a65e33d41
, Pose Library: properly set hard min/max for blend factor
|
@ -192,7 +192,7 @@ static void poselib_blend_set_factor(PoseBlendData *pbd, const float new_factor)
|
|||
BKE_pose_backup_free(pbd->pose_backup);
|
||||
}
|
||||
|
||||
pbd->blend_factor = CLAMPIS(new_factor, -1.0f, 1.0f);
|
||||
pbd->blend_factor = new_factor;
|
||||
pbd->needs_redraw = true;
|
||||
|
||||
if (sign_changed) {
|
||||
|
@ -351,7 +351,7 @@ static bool poselib_blend_init_data(bContext *C, wmOperator *op, const wmEvent *
|
|||
pbd->slider = ED_slider_create(C);
|
||||
ED_slider_init(pbd->slider, event);
|
||||
ED_slider_factor_set(pbd->slider, pbd->blend_factor);
|
||||
ED_slider_allow_overshoot_set(pbd->slider, false);
|
||||
ED_slider_allow_overshoot_set(pbd->slider, true);
|
||||
ED_slider_is_bidirectional_set(pbd->slider, true);
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in New Issue