[Bf-blender-cvs] [f5c081dafc7] master: Fix T104033: UV edges not selecting when selecting faces

Campbell Barton noreply at git.blender.org
Mon Jan 23 10:27:05 CET 2023


Commit: f5c081dafc79041dab7985a66f4546a30149121b
Author: Campbell Barton
Date:   Mon Jan 23 20:23:55 2023 +1100
Branches: master
https://developer.blender.org/rBf5c081dafc79041dab7985a66f4546a30149121b

Fix T104033: UV edges not selecting when selecting faces

Regression in [0] replaced edge with vertex selection.

[0]: 6c774feba2c9a1eb5834646f597a0f2c63177914

===================================================================

M	source/blender/editors/uvedit/uvedit_select.c

===================================================================

diff --git a/source/blender/editors/uvedit/uvedit_select.c b/source/blender/editors/uvedit/uvedit_select.c
index 7595577e160..50185049fe1 100644
--- a/source/blender/editors/uvedit/uvedit_select.c
+++ b/source/blender/editors/uvedit/uvedit_select.c
@@ -3315,12 +3315,12 @@ static void uv_select_flush_from_tag_face(const Scene *scene, Object *obedit, co
       if (BM_elem_flag_test(efa, BM_ELEM_TAG)) {
         BM_ITER_ELEM (l, &liter, efa, BM_LOOPS_OF_FACE) {
           if (select) {
-            BM_ELEM_CD_SET_BOOL(l, offsets.select_vert, true);
+            BM_ELEM_CD_SET_BOOL(l, offsets.select_edge, true);
             uv_select_flush_from_tag_sticky_loc_internal(
                 scene, em, vmap, efa_index, l, select, offsets);
           }
           else {
-            BM_ELEM_CD_SET_BOOL(l, offsets.select_vert, false);
+            BM_ELEM_CD_SET_BOOL(l, offsets.select_edge, false);
             if (!uvedit_vert_is_face_select_any_other(scene, l, offsets)) {
               uv_select_flush_from_tag_sticky_loc_internal(
                   scene, em, vmap, efa_index, l, select, offsets);



More information about the Bf-blender-cvs mailing list