diff options
author | Campbell Barton <ideasman42@gmail.com> | 2018-09-11 08:01:41 +0300 |
---|---|---|
committer | Campbell Barton <ideasman42@gmail.com> | 2018-09-11 08:01:41 +0300 |
commit | bdf215ca8246b1fe6691226b09fc855a09d40f21 (patch) | |
tree | 785323b12eb48c5b3caa561bb0e6c0a1a845b5e7 /source/blender/editors/transform/transform_orientations.c | |
parent | c317a21a4c439887114bcfb7cc86f6b4b76f6270 (diff) | |
parent | 6bf003bce065a7e8c36642cc3dc66f722462673f (diff) |
Merge branch 'master' into blender2.8
Diffstat (limited to 'source/blender/editors/transform/transform_orientations.c')
-rw-r--r-- | source/blender/editors/transform/transform_orientations.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/source/blender/editors/transform/transform_orientations.c b/source/blender/editors/transform/transform_orientations.c index 2dcd11d89ff..2962c88c352 100644 --- a/source/blender/editors/transform/transform_orientations.c +++ b/source/blender/editors/transform/transform_orientations.c @@ -793,7 +793,7 @@ int getTransformOrientation_ex(const bContext *C, float normal[3], float plane[3 } } - result = ORIENTATION_EDGE; + result = is_zero_v3(plane) ? ORIENTATION_VERT : ORIENTATION_EDGE; } else if (em->bm->totvertsel > 3) { BMIter iter; |