Welcome to mirror list, hosted at ThFree Co, Russian Federation.

git.blender.org/blender.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorCampbell Barton <ideasman42@gmail.com>2012-04-25 15:31:01 +0400
committerCampbell Barton <ideasman42@gmail.com>2012-04-25 15:31:01 +0400
commitd53133d25f7373ee03b5d53f5eaf35cd9fc26d4e (patch)
treee20fb39f62b512591356e448f32d38480e385a1f
parent7ac4bd9105b93b621a3cb5715b1fc8bfa22c5867 (diff)
fix for border de-selecting with sync selection
-rw-r--r--source/blender/editors/uvedit/uvedit_ops.c9
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) {