Welcome to mirror list, hosted at ThFree Co, Russian Federation.

git.blender.org/blender.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorGermano Cavalcante <germano.costa@ig.com.br>2020-05-01 23:40:54 +0300
committerGermano Cavalcante <germano.costa@ig.com.br>2020-05-01 23:41:06 +0300
commit06839379c5d4f541a80c4d0f4487d8eb2c6fbba0 (patch)
tree7c1c04fef3a8011ed58a866c1eebca6f60ecd687 /source/blender/editors/transform/transform_constraints.c
parent87602d886f70a38a20e5738709dd971744a27516 (diff)
Transform: Allow orientation change with custom matrix in modal
Diffstat (limited to 'source/blender/editors/transform/transform_constraints.c')
-rw-r--r--source/blender/editors/transform/transform_constraints.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/source/blender/editors/transform/transform_constraints.c b/source/blender/editors/transform/transform_constraints.c
index 3d4fdba9bce..94cfed32841 100644
--- a/source/blender/editors/transform/transform_constraints.c
+++ b/source/blender/editors/transform/transform_constraints.c
@@ -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];
}