diff options
author | Campbell Barton <ideasman42@gmail.com> | 2020-04-24 10:28:46 +0300 |
---|---|---|
committer | Campbell Barton <ideasman42@gmail.com> | 2020-04-24 10:28:46 +0300 |
commit | b0b6fb8a9390c5ef35709f39091979100acfe945 (patch) | |
tree | 0a4bd40697d38f416bc3088a2b2bb8322787a65c /source/blender/editors/mesh/editmesh_select.c | |
parent | 9b56b2b2b977621b01f0aa2432f110742f3fb645 (diff) |
Fix edit-mesh moving from edge to face mode with Ctrl held
Faces could be selected without any of their edges or vertices selected.
Diffstat (limited to 'source/blender/editors/mesh/editmesh_select.c')
-rw-r--r-- | source/blender/editors/mesh/editmesh_select.c | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/source/blender/editors/mesh/editmesh_select.c b/source/blender/editors/mesh/editmesh_select.c index 3847f32b19a..a989ba2bb45 100644 --- a/source/blender/editors/mesh/editmesh_select.c +++ b/source/blender/editors/mesh/editmesh_select.c @@ -2335,6 +2335,8 @@ void EDBM_selectmode_convert(BMEditMesh *em, BM_edge_select_set(bm, eed, false); } } + /* Deselect faces without edges selected. */ + BM_mesh_deselect_flush(bm); } else if (selectmode_new == SCE_SELECT_VERTEX) { /* flush down (face -> vert) */ |