Revert "Transform: use scene-orientation for MMB axis constraint"
This reverts commit 78a6c2e12c
.
This commit is contained in:
parent
c007e3be72
commit
4f997c0ebb
|
@ -1373,7 +1373,16 @@ int transformEvent(TransInfo *t, const wmEvent *event)
|
|||
stopConstraint(t);
|
||||
}
|
||||
else {
|
||||
initSelectConstraint(t, t->spacemtx);
|
||||
if (event->shift) {
|
||||
initSelectConstraint(t, t->spacemtx);
|
||||
}
|
||||
else {
|
||||
/* bit hackish... but it prevents mmb select to print the orientation from menu */
|
||||
float mati[3][3];
|
||||
strcpy(t->spacename, "global");
|
||||
unit_m3(mati);
|
||||
initSelectConstraint(t, mati);
|
||||
}
|
||||
postSelectConstraint(t);
|
||||
}
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue