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:00:50 +0300
committerCampbell Barton <ideasman42@gmail.com>2018-09-11 08:00:50 +0300
commit6bf003bce065a7e8c36642cc3dc66f722462673f (patch)
treecc25658c5aced036a7de2a6a2a876042eaaad037 /source/blender/editors
parent5bb11cfde2526a849e0b2de791f99293abf7615b (diff)
Correct own error in recent transform orientation changes
Diffstat (limited to 'source/blender/editors')
-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 1c5a6eabd6f..4122cf33bdb 100644
--- a/source/blender/editors/transform/transform_orientations.c
+++ b/source/blender/editors/transform/transform_orientations.c
@@ -796,7 +796,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;