diff options
-rw-r--r-- | source/blender/editors/transform/transform_mode.c | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/source/blender/editors/transform/transform_mode.c b/source/blender/editors/transform/transform_mode.c index 0e632e5f82d..5e0abbc1a08 100644 --- a/source/blender/editors/transform/transform_mode.c +++ b/source/blender/editors/transform/transform_mode.c @@ -1054,6 +1054,11 @@ void ElementResize(const TransInfo *t, } if (t->options & (CTX_OBJECT | CTX_POSE_BONE)) { + if (t->options & CTX_POSE_BONE) { + /* Without this, the resulting location of scaled bones aren't correct, + * especially noticeable scaling root or disconnected bones around the cursor, see T92515. */ + mul_mat3_m4_v3(tc->poseobj->obmat, vec); + } mul_m3_v3(td->smtx, vec); } |