From 492fa01eb388dcc7825659c159b59acdf135d4ff Mon Sep 17 00:00:00 2001 From: Campbell Barton Date: Sun, 1 Jun 2025 14:30:16 +0000 Subject: [PATCH] Fix UV select similar with multi-object editing & sync-select When sync select was enabled, checking for selected elements isn't a correct way to check for visible UV's for that mesh. Meshes without any selected vertices were skipped, even when they contained similar UV's that should have been selected. --- source/blender/editors/uvedit/uvedit_select.cc | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/source/blender/editors/uvedit/uvedit_select.cc b/source/blender/editors/uvedit/uvedit_select.cc index 8bf8afbf0b0..a767a5d79a7 100644 --- a/source/blender/editors/uvedit/uvedit_select.cc +++ b/source/blender/editors/uvedit/uvedit_select.cc @@ -4867,7 +4867,7 @@ static wmOperatorStatus uv_select_similar_vert_exec(bContext *C, wmOperator *op) for (Object *ob : objects) { BMesh *bm = BKE_editmesh_from_object(ob)->bm; - if (bm->totvertsel == 0) { + if (!(ts->uv_flag & UV_SYNC_SELECTION) && (bm->totvertsel == 0)) { continue; } @@ -4981,7 +4981,7 @@ static wmOperatorStatus uv_select_similar_edge_exec(bContext *C, wmOperator *op) for (Object *ob : objects) { BMesh *bm = BKE_editmesh_from_object(ob)->bm; - if (bm->totvertsel == 0) { + if (!(ts->uv_flag & UV_SYNC_SELECTION) && (bm->totvertsel == 0)) { continue; }