diff options
author | Campbell Barton <ideasman42@gmail.com> | 2012-04-25 15:31:01 +0400 |
---|---|---|
committer | Campbell Barton <ideasman42@gmail.com> | 2012-04-25 15:31:01 +0400 |
commit | d53133d25f7373ee03b5d53f5eaf35cd9fc26d4e (patch) | |
tree | e20fb39f62b512591356e448f32d38480e385a1f /source/blender | |
parent | 7ac4bd9105b93b621a3cb5715b1fc8bfa22c5867 (diff) |
fix for border de-selecting with sync selection
Diffstat (limited to 'source/blender')
-rw-r--r-- | source/blender/editors/uvedit/uvedit_ops.c | 9 |
1 files changed, 4 insertions, 5 deletions
diff --git a/source/blender/editors/uvedit/uvedit_ops.c b/source/blender/editors/uvedit/uvedit_ops.c index d0486807e8f..1c62ce3a684 100644 --- a/source/blender/editors/uvedit/uvedit_ops.c +++ b/source/blender/editors/uvedit/uvedit_ops.c @@ -2512,15 +2512,14 @@ static int border_select_exec(bContext *C, wmOperator *op) } if (change) { - /* make sure newly selected vert selection is updated*/ -#if 0 /* BM_elem_select_set API handles all of this? */ + /* bmesh API habdles flushing but not on de-select */ if (ts->uv_flag & UV_SYNC_SELECTION) { if (ts->selectmode != SCE_SELECT_FACE) { - if (select) EDBM_select_flush(em); - else EDBM_deselect_flush(em); + if (select == FALSE) { + EDBM_deselect_flush(em); + } } } -#endif if (ts->uv_flag & UV_SYNC_SELECTION) { if (select == FALSE) { |