From 74c4977aeaa30c554872b7f44dbdca6730160ab6 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Sybren=20A=2E=20St=C3=BCvel?= Date: Thu, 5 Jan 2023 15:42:42 +0100 Subject: [PATCH] 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. --- source/blender/editors/armature/pose_lib_2.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/source/blender/editors/armature/pose_lib_2.c b/source/blender/editors/armature/pose_lib_2.c index 1ea8bc275e9..a015e37aac6 100644 --- a/source/blender/editors/armature/pose_lib_2.c +++ b/source/blender/editors/armature/pose_lib_2.c @@ -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); }