Welcome to mirror list, hosted at ThFree Co, Russian Federation.

git.blender.org/blender.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorCampbell Barton <ideasman42@gmail.com>2018-09-11 08:01:41 +0300
committerCampbell Barton <ideasman42@gmail.com>2018-09-11 08:01:41 +0300
commitbdf215ca8246b1fe6691226b09fc855a09d40f21 (patch)
tree785323b12eb48c5b3caa561bb0e6c0a1a845b5e7 /source/blender/editors/transform/transform_orientations.c
parentc317a21a4c439887114bcfb7cc86f6b4b76f6270 (diff)
parent6bf003bce065a7e8c36642cc3dc66f722462673f (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.c2
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;