From b0b6fb8a9390c5ef35709f39091979100acfe945 Mon Sep 17 00:00:00 2001 From: Campbell Barton Date: Fri, 24 Apr 2020 17:28:46 +1000 Subject: Fix edit-mesh moving from edge to face mode with Ctrl held Faces could be selected without any of their edges or vertices selected. --- source/blender/editors/mesh/editmesh_select.c | 2 ++ 1 file changed, 2 insertions(+) (limited to 'source/blender/editors/mesh/editmesh_select.c') 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) */ -- cgit v1.2.3