diff options
author | Germano Cavalcante <germano.costa@ig.com.br> | 2020-05-01 15:31:20 +0300 |
---|---|---|
committer | Germano Cavalcante <germano.costa@ig.com.br> | 2020-05-01 15:32:22 +0300 |
commit | 185e1d53950faa9b56c812793f2bbda21d7489f8 (patch) | |
tree | ca525c913bc18eb126c0034d9e2a292ef268337e /source/blender/editors/transform/transform_constraints.c | |
parent | ae049a6c6ac545b2c9eadf759f40ad864f436ff1 (diff) |
Fix T76254: 'Normal' Transformation Orientation using Global
Issue introduced in rBc57e4418bb85.
Diffstat (limited to 'source/blender/editors/transform/transform_constraints.c')
-rw-r--r-- | source/blender/editors/transform/transform_constraints.c | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/source/blender/editors/transform/transform_constraints.c b/source/blender/editors/transform/transform_constraints.c index 7d7b9f7e8ce..195057460fe 100644 --- a/source/blender/editors/transform/transform_constraints.c +++ b/source/blender/editors/transform/transform_constraints.c @@ -1064,8 +1064,7 @@ void initSelectConstraint(TransInfo *t, bool force_global) else { if (t->orientation.index == 0) { t->orientation.index = 1; - BLI_assert(t->orientation.types[0] != V3D_ORIENT_CUSTOM_MATRIX); - initTransformOrientation(t->context, t, t->orientation.types[t->orientation.index]); + initTransformOrientation(t->context, t); } orientation = t->orientation.types[t->orientation.index]; } |