[Bf-blender-cvs] [e2fa666] master: Fix T44320: UV island overlap considered linked
Campbell Barton
noreply at git.blender.org
Mon Jun 22 23:14:22 CEST 2015
Commit: e2fa6663d34b2e200c2a951a74050899c84ec2cf
Author: Campbell Barton
Date: Tue Jun 23 07:07:52 2015 +1000
Branches: master
https://developer.blender.org/rBe2fa6663d34b2e200c2a951a74050899c84ec2cf
Fix T44320: UV island overlap considered linked
===================================================================
M source/blender/editors/uvedit/uvedit_ops.c
===================================================================
diff --git a/source/blender/editors/uvedit/uvedit_ops.c b/source/blender/editors/uvedit/uvedit_ops.c
index 6ef9ed9..3b40dad 100644
--- a/source/blender/editors/uvedit/uvedit_ops.c
+++ b/source/blender/editors/uvedit/uvedit_ops.c
@@ -1135,7 +1135,9 @@ static void uv_select_linked(Scene *scene, Image *ima, BMEditMesh *em, const flo
const int cd_poly_tex_offset = CustomData_get_offset(&em->bm->pdata, CD_MTEXPOLY);
BM_mesh_elem_table_ensure(em->bm, BM_FACE); /* we can use this too */
- vmap = BM_uv_vert_map_create(em->bm, limit, !select_faces, false);
+
+ /* 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);
if (vmap == NULL)
return;
More information about the Bf-blender-cvs
mailing list