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>2013-04-22 20:46:37 +0400
committerCampbell Barton <ideasman42@gmail.com>2013-04-22 20:46:37 +0400
commitf09efad242ad9ca96dbc8e0f20aebd1cd531353a (patch)
treea6a33da2ade66a7d17aad521389b8d76cf516668 /source/blender/editors/transform/transform_constraints.c
parentd56ceaab4c13f827042b74905635a07873422056 (diff)
fix for scaling on individual center in mesh editmode when the object has non-unit matrix. (own error when adding support for axismtx in editmode)
Diffstat (limited to 'source/blender/editors/transform/transform_constraints.c')
-rw-r--r--source/blender/editors/transform/transform_constraints.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/source/blender/editors/transform/transform_constraints.c b/source/blender/editors/transform/transform_constraints.c
index 4dc590f019f..ab03b7f75ea 100644
--- a/source/blender/editors/transform/transform_constraints.c
+++ b/source/blender/editors/transform/transform_constraints.c
@@ -449,10 +449,10 @@ static void applyObjectConstraintSize(TransInfo *t, TransData *td, float smat[3]
}
mul_m3_m3m3(tmat, smat, imat);
- mul_m3_m3m3(smat, td->axismtx, tmat);
if (t->flag & T_EDIT) {
- mul_m3_m3m3(smat, smat, t->obedit_mat);
+ mul_m3_m3m3(smat, t->obedit_mat, smat);
}
+ mul_m3_m3m3(smat, td->axismtx, tmat);
}
}