diff options
author | Campbell Barton <ideasman42@gmail.com> | 2020-07-22 08:57:20 +0300 |
---|---|---|
committer | Campbell Barton <ideasman42@gmail.com> | 2020-07-22 09:02:46 +0300 |
commit | ef52a9f791a48846cce3db19764d936eb49be87f (patch) | |
tree | a8c369e25decd6adb529033cfb313f623a75ede4 /source/blender | |
parent | 077a2f7bbb63b5a9e40299fc1c774e90152011d2 (diff) |
Fix UV select flush error in recent loop select cleanup
Regression from d99b343b31e76
Diffstat (limited to 'source/blender')
-rw-r--r-- | source/blender/editors/uvedit/uvedit_select.c | 7 |
1 files changed, 5 insertions, 2 deletions
diff --git a/source/blender/editors/uvedit/uvedit_select.c b/source/blender/editors/uvedit/uvedit_select.c index eee1939d33c..ece0158bc9b 100644 --- a/source/blender/editors/uvedit/uvedit_select.c +++ b/source/blender/editors/uvedit/uvedit_select.c @@ -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); } } |