Fix T44320: UV island overlap considered linked

This commit is contained in:
Campbell Barton 2015-06-23 07:07:52 +10:00
parent 80192b5391
commit e2fa6663d3
Notes: blender-bot 2023-02-14 09:15:38 +01:00
Referenced by issue #44320, Unwanted merges of UV vertices, also makes importing FBX in mudbox fail.
1 changed files with 3 additions and 1 deletions

View File

@ -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;