[Bf-blender-cvs] [6bf003bce06] master: Correct own error in recent transform orientation changes
Campbell Barton
noreply at git.blender.org
Tue Sep 11 06:50:54 CEST 2018
Commit: 6bf003bce065a7e8c36642cc3dc66f722462673f
Author: Campbell Barton
Date: Tue Sep 11 15:00:50 2018 +1000
Branches: master
https://developer.blender.org/rB6bf003bce065a7e8c36642cc3dc66f722462673f
Correct own error in recent transform orientation changes
===================================================================
M source/blender/editors/transform/transform_orientations.c
===================================================================
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;
More information about the Bf-blender-cvs
mailing list