Fix #117320: UV Sync-select selects faces instead of just edges

This commit is contained in:
Campbell Barton
2024-03-20 12:50:35 +11:00
parent 9b4683fe0a
commit 9edb2784da

View File

@@ -195,7 +195,14 @@ void ED_uvedit_select_sync_flush(const ToolSettings *ts, BMEditMesh *em, const b
EDBM_deselect_flush(em);
}
else {
EDBM_select_flush(em);
if (ts->selectmode & SCE_SELECT_VERTEX) {
EDBM_select_flush(em);
}
else {
/* Use instead of #EDBM_select_flush so selecting edges doesn't
* flush vertex to face selection, see: #117320. */
EDBM_selectmode_flush(em);
}
}
}