diff options
author | Germano Cavalcante <germano.costa@ig.com.br> | 2020-05-01 16:00:13 +0300 |
---|---|---|
committer | Germano Cavalcante <germano.costa@ig.com.br> | 2020-05-01 16:00:13 +0300 |
commit | 2188175891679a584739dd31df6e45c0a624f9ad (patch) | |
tree | 1cf34bf30e140f3794b990a32c4957bbaa1d54e1 /source/blender/editors/transform/transform_mode_shear.c | |
parent | d49b148459502535c2faf1ddc2b85df78cbae836 (diff) |
Transform: Invert shear direction aligned to view
Issue introduced in rBc57e4418bb85.
Diffstat (limited to 'source/blender/editors/transform/transform_mode_shear.c')
-rw-r--r-- | source/blender/editors/transform/transform_mode_shear.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/source/blender/editors/transform/transform_mode_shear.c b/source/blender/editors/transform/transform_mode_shear.c index dc0479f4e60..da34bf50ba3 100644 --- a/source/blender/editors/transform/transform_mode_shear.c +++ b/source/blender/editors/transform/transform_mode_shear.c @@ -58,12 +58,12 @@ static void initShear_mouseInputMode(TransInfo *t) /* Needed for axis aligned view gizmo. */ if (t->orientation.types[t->orientation.index] == V3D_ORIENT_VIEW) { if (t->orient_axis_ortho == 0) { - if (t->center2d[1] > t->mouse.imval[1]) { + if (t->center2d[1] < t->mouse.imval[1]) { dir_flip = !dir_flip; } } else if (t->orient_axis_ortho == 1) { - if (t->center2d[0] > t->mouse.imval[0]) { + if (t->center2d[0] < t->mouse.imval[0]) { dir_flip = !dir_flip; } } |