Fix edit-mesh moving from edge to face mode with Ctrl held

Faces could be selected without any of their edges or vertices selected.
This commit is contained in:
Campbell Barton
2020-04-24 17:28:46 +10:00
parent 9b56b2b2b9
commit b0b6fb8a93

View File

@@ -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) */