diff options
author | Campbell Barton <ideasman42@gmail.com> | 2015-06-23 00:07:52 +0300 |
---|---|---|
committer | Campbell Barton <ideasman42@gmail.com> | 2015-06-23 00:07:52 +0300 |
commit | e2fa6663d34b2e200c2a951a74050899c84ec2cf (patch) | |
tree | 544e8ae7be5b68adbd5a888b0d1f35ccb7eadaca /source/blender/editors/uvedit/uvedit_ops.c | |
parent | 80192b5391cece6e826d65d813c958d267c07a51 (diff) |
Fix T44320: UV island overlap considered linked
Diffstat (limited to 'source/blender/editors/uvedit/uvedit_ops.c')
-rw-r--r-- | source/blender/editors/uvedit/uvedit_ops.c | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/source/blender/editors/uvedit/uvedit_ops.c b/source/blender/editors/uvedit/uvedit_ops.c index 6ef9ed9352c..3b40dad3f3b 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; |