diff options
author | Germano Cavalcante <germano.costa@ig.com.br> | 2020-05-01 23:40:54 +0300 |
---|---|---|
committer | Germano Cavalcante <germano.costa@ig.com.br> | 2020-05-01 23:41:06 +0300 |
commit | 06839379c5d4f541a80c4d0f4487d8eb2c6fbba0 (patch) | |
tree | 7c1c04fef3a8011ed58a866c1eebca6f60ecd687 /source/blender/editors/transform/transform_constraints.c | |
parent | 87602d886f70a38a20e5738709dd971744a27516 (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.c | 2 |
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]; } |