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)

This commit is contained in:
Campbell Barton
2013-04-22 16:46:37 +00:00
parent d56ceaab4c
commit f09efad242

View 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);
}
}