diff options
author | Ton Roosendaal <ton@blender.org> | 2005-11-28 21:16:37 +0300 |
---|---|---|
committer | Ton Roosendaal <ton@blender.org> | 2005-11-28 21:16:37 +0300 |
commit | 5595f3cf623b0b1054bab939fda4b67f79ef9744 (patch) | |
tree | 2750a1478873c0ba69021608a9458f354d37aadc /source/blender/src/editmesh_lib.c | |
parent | 705497142d5b9a16bb5c22f31cbeb8a88d6a6920 (diff) |
Bugfix; using vertex+edge select in Mesh editmode, didn't restore selection
correctly after re-entering editmode.
Diffstat (limited to 'source/blender/src/editmesh_lib.c')
-rw-r--r-- | source/blender/src/editmesh_lib.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/source/blender/src/editmesh_lib.c b/source/blender/src/editmesh_lib.c index e9289fb2e5b..153a6b1b945 100644 --- a/source/blender/src/editmesh_lib.c +++ b/source/blender/src/editmesh_lib.c @@ -401,14 +401,14 @@ void EM_selectmode_set(void) EditEdge *eed; EditFace *efa; - if(G.scene->selectmode & SCE_SELECT_VERTEX) { + if(G.scene->selectmode == SCE_SELECT_VERTEX) { /* vertices -> edges -> faces */ for (eed= em->edges.first; eed; eed= eed->next) eed->f &= ~SELECT; for (efa= em->faces.first; efa; efa= efa->next) efa->f &= ~SELECT; EM_select_flush(); } - else if(G.scene->selectmode & SCE_SELECT_EDGE) { + else if(G.scene->selectmode == SCE_SELECT_EDGE) { /* deselect vertices, and select again based on edge select */ for(eve= em->verts.first; eve; eve= eve->next) eve->f &= ~SELECT; for(eed= em->edges.first; eed; eed= eed->next) |