[#22212] edit problem with translate manipulator

Missing a matrix normalization (objects scaled in object mode would have the bug).
This commit is contained in:
Martin Poirier
2010-05-05 02:07:26 +00:00
parent bfca6d8f75
commit 8961d63c54

View File

@@ -524,6 +524,7 @@ void setLocalConstraint(TransInfo *t, int mode, const char text[]) {
if (t->flag & T_EDIT) {
float obmat[3][3];
copy_m3_m4(obmat, t->scene->obedit->obmat);
normalize_m3(obmat);
setConstraint(t, obmat, mode, text);
}
else {