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-09-14 21:24:36 +0300
committerChristoph Lendenfeld <chris.lend@gmx.at>2021-09-14 21:24:36 +0300
commit7c7348f78d1b094c4fdc20f2c9dbfe521b68c11e (patch)
tree340fb25868bc7f8c41bb5f6c543643acafdf3ac8 /source/blender
parent0ed089cebda2580a1347d184055b70f0d1f32b76 (diff)
Fix T89027: "factor" field in pose breakdowner not updated
After applying the pose breakdowner, the "factor" slider in the redo panel wasn't set to the correct value This would cause the pose to jump around once you start dragging the slider Reviewed by: Sybren A. Stüvel Differential Revision: https://developer.blender.org/D12187 Ref: D12187
Diffstat (limited to 'source/blender')
-rw-r--r--source/blender/editors/armature/pose_slide.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/source/blender/editors/armature/pose_slide.c b/source/blender/editors/armature/pose_slide.c
index c02644cde39..f23376867af 100644
--- a/source/blender/editors/armature/pose_slide.c
+++ b/source/blender/editors/armature/pose_slide.c
@@ -1268,6 +1268,8 @@ static int pose_slide_modal(bContext *C, wmOperator *op, const wmEvent *event)
/* Perform pose updates - in response to some user action
* (e.g. pressing a key or moving the mouse). */
if (do_pose_update) {
+ RNA_float_set(op->ptr, "factor", ED_slider_factor_get(pso->slider));
+
/* Update percentage indicator in header. */
pose_slide_draw_status(C, pso);