fix for scaling on individual center in mesh editmode when the object has non-unit...
authorCampbell Barton <ideasman42@gmail.com>
Mon, 22 Apr 2013 16:46:37 +0000 (16:46 +0000)
committerCampbell Barton <ideasman42@gmail.com>
Mon, 22 Apr 2013 16:46:37 +0000 (16:46 +0000)
source/blender/editors/transform/transform_constraints.c

index 4dc590f019fbea6e87421c9366133dfcac0b59fa..ab03b7f75ea1bb156da8776423b3ca1fa0a3262d 100644 (file)
@@ -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);
        }
 }