Transform: Allow orientation change with custom matrix in modal

This commit is contained in:
2020-05-01 17:40:54 -03:00
parent 87602d886f
commit 06839379c5
4 changed files with 11 additions and 10 deletions

View File

@@ -996,7 +996,7 @@ void initSelectConstraint(TransInfo *t, bool force_global)
else {
if (t->orientation.index == 0) {
t->orientation.index = 1;
initTransformOrientation(t->context, t);
initTransformOrientation(t->context, t, t->orientation.types[t->orientation.index]);
}
orientation = t->orientation.types[t->orientation.index];
}