Revert T44320: UV island overlap considered linked
[blender.git] / source / blender / editors / uvedit / uvedit_ops.c
index 193b006cf0de5e3f0960bd6af9cd9bdfb8499a07..d7361f5a2596c40df7d6d524cf213db6d8fdff36 100644 (file)
@@ -1136,8 +1136,13 @@ static void uv_select_linked(Scene *scene, Image *ima, BMEditMesh *em, const flo
 
        BM_mesh_elem_table_ensure(em->bm, BM_FACE); /* we can use this too */
 
-       /* use winding so we don't consider overlapping islands as connected, see T44320 */
-       vmap = BM_uv_vert_map_create(em->bm, limit, !select_faces, true);
+       /* Note, we had 'use winding' so we don't consider overlapping islands as connected, see T44320
+        * this made *every* projection split the island into front/back islands.
+        * Keep 'use_winding' to false, see: T50970.
+        *
+        * Better solve this by having a delimit option for select-linked operator,
+        * keeping island-select working as is. */
+       vmap = BM_uv_vert_map_create(em->bm, limit, !select_faces, false);
 
        if (vmap == NULL)
                return;