From 3d7b85ffdaefd2da599260dfc535dede12b5c828 Mon Sep 17 00:00:00 2001 From: Campbell Barton Date: Mon, 2 Jun 2025 00:09:33 +1000 Subject: [PATCH] Fix UV select similar missing selection flushing calls Selecting vertices/edges wasn't flushing the selection to faces. --- .../blender/editors/uvedit/uvedit_select.cc | 24 +++++++++++++++++++ 1 file changed, 24 insertions(+) diff --git a/source/blender/editors/uvedit/uvedit_select.cc b/source/blender/editors/uvedit/uvedit_select.cc index 330578c7959..8bf8afbf0b0 100644 --- a/source/blender/editors/uvedit/uvedit_select.cc +++ b/source/blender/editors/uvedit/uvedit_select.cc @@ -4898,6 +4898,12 @@ static wmOperatorStatus uv_select_similar_vert_exec(bContext *C, wmOperator *op) } } if (changed) { + if (ts->uv_flag & UV_SYNC_SELECTION) { + BM_mesh_select_flush(bm); + } + else { + uvedit_select_flush(scene, bm); + } uv_select_tag_update_for_object(depsgraph, ts, ob); } } @@ -5006,6 +5012,12 @@ static wmOperatorStatus uv_select_similar_edge_exec(bContext *C, wmOperator *op) } } if (changed) { + if (ts->uv_flag & UV_SYNC_SELECTION) { + BM_mesh_select_flush(bm); + } + else { + uvedit_select_flush(scene, bm); + } uv_select_tag_update_for_object(depsgraph, ts, ob); } } @@ -5097,6 +5109,12 @@ static wmOperatorStatus uv_select_similar_face_exec(bContext *C, wmOperator *op) } } if (changed) { + if (ts->uv_flag & UV_SYNC_SELECTION) { + BM_mesh_select_flush(bm); + } + else { + uvedit_select_flush(scene, bm); + } uv_select_tag_update_for_object(depsgraph, ts, ob); } } @@ -5208,6 +5226,12 @@ static wmOperatorStatus uv_select_similar_island_exec(bContext *C, wmOperator *o } if (changed) { + if (ts->uv_flag & UV_SYNC_SELECTION) { + BM_mesh_select_flush(bm); + } + else { + uvedit_select_flush(scene, bm); + } uv_select_tag_update_for_object(depsgraph, ts, obedit); } }