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-05-24 20:35:35 +0300
committerCampbell Barton <ideasman42@gmail.com>2018-05-24 20:36:38 +0300
commit357199375b2ba6e1268b68ecf3ea78304aafe5d4 (patch)
tree14715c22dd186ab65409c45901fd72be1c4da497 /source/blender/editors/mesh
parent5a431be629940e0ecffba047e80e0946a01f3aa4 (diff)
Correct own last commit
Diffstat (limited to 'source/blender/editors/mesh')
-rw-r--r--source/blender/editors/mesh/editmesh_select.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/source/blender/editors/mesh/editmesh_select.c b/source/blender/editors/mesh/editmesh_select.c
index f056a0a97c1..3eafb48d02c 100644
--- a/source/blender/editors/mesh/editmesh_select.c
+++ b/source/blender/editors/mesh/editmesh_select.c
@@ -1707,9 +1707,9 @@ static bool mouse_mesh_loop(bContext *C, const int mval[2], bool extend, bool de
* TODO: cleanup: add `selectmode` as a parameter */
const short ts_selectmode = vc.scene->toolsettings->selectmode;
bool use_fake_edge_mode = false;
- if (ts_selectmode & SCE_SELECT_EDGE) {
+ if ((ts_selectmode & SCE_SELECT_EDGE) == 0) {
vc.v3d->flag |= V3D_INVALID_BACKBUF;
- vc.scene->toolsettings->selectmode |= SCE_SELECT_EDGE;
+ vc.scene->toolsettings->selectmode = SCE_SELECT_EDGE;
em->selectmode = vc.scene->toolsettings->selectmode;
use_fake_edge_mode = true;
}