Fix UV select flush error in recent loop select cleanup

Regression from d99b343b31
This commit is contained in:
Campbell Barton 2020-07-22 15:57:20 +10:00
parent 077a2f7bbb
commit ef52a9f791
1 changed files with 5 additions and 2 deletions

View File

@ -1982,8 +1982,11 @@ static int uv_mouse_select_loop_generic_multi(bContext *C,
}
if (ts->uv_flag & UV_SYNC_SELECTION) {
if (flush != 0) {
EDBM_selectmode_flush(em);
if (flush == 1) {
EDBM_select_flush(em);
}
else if (flush == -1) {
EDBM_deselect_flush(em);
}
}