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:
authorCampbell Barton <ideasman42@gmail.com>2021-11-03 03:49:58 +0300
committerCampbell Barton <ideasman42@gmail.com>2021-11-03 03:49:58 +0300
commitcea7ee7582db4c4a300893cc80c52d3b270546f2 (patch)
tree2e8f3c2f6ced78f8d8f21c40937b0ab9285badce /source/blender/editors
parentac0eefe26f82e9bb2c25d96e18e96505dc52d987 (diff)
parent7996b49cb050eb22fcc4305952d6c972c6c16f24 (diff)
Merge branch 'blender-v3.0-release'
Diffstat (limited to 'source/blender/editors')
-rw-r--r--source/blender/editors/transform/transform_mode.c5
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);
}