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
This commit is contained in:
Christoph Lendenfeld 2021-09-14 19:24:36 +01:00
parent 0ed089cebd
commit 7c7348f78d
Notes: blender-bot 2023-02-14 03:46:57 +01:00
Referenced by issue #89027, After applying the Pose Breakdowner, the Factor in the popup menu does not work.
1 changed files with 2 additions and 0 deletions

View File

@ -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);