diff options
author | Germano Cavalcante <germano.costa@ig.com.br> | 2021-01-30 18:49:42 +0300 |
---|---|---|
committer | Germano Cavalcante <germano.costa@ig.com.br> | 2021-01-30 18:51:03 +0300 |
commit | acc662ea5a778859eb5b7c31233c8e0fb8157de9 (patch) | |
tree | f3382ec0bbe7bfa6479858308fc9d01e99d0bb4c /source/blender/editors/transform/transform_orientations.c | |
parent | 036b65d778c16a6bdf80598ff589f748a06e0670 (diff) |
Revert "Fix T83092: Direction of rotation with View orientation changed in 2.91"
This reverts commit f9e994d0f463abb87761591e30c47a9613be6cca.
And fixes T85227.
That commit created an inverted orientation matrix but the 'Align to
Transform Orientation' operator doesn't work well with inverted matrices.
Diffstat (limited to 'source/blender/editors/transform/transform_orientations.c')
-rw-r--r-- | source/blender/editors/transform/transform_orientations.c | 1 |
1 files changed, 0 insertions, 1 deletions
diff --git a/source/blender/editors/transform/transform_orientations.c b/source/blender/editors/transform/transform_orientations.c index 90b2ce2a385..3b39f4d06ad 100644 --- a/source/blender/editors/transform/transform_orientations.c +++ b/source/blender/editors/transform/transform_orientations.c @@ -561,7 +561,6 @@ short ED_transform_calc_orientation_from_type_ex(const bContext *C, if (rv3d != NULL) { copy_m3_m4(r_mat, rv3d->viewinv); normalize_m3(r_mat); - negate_v3(r_mat[2]); } else { unit_m3(r_mat); |