Fix #25316: distorted subsurf UV in some cases. To counter distortion at seams,

we add extra creasing in the UV mesh, to keep it from shrinking, leading to
distorted UVs, but this wasn't always working right, so tweaked the conditions.
This commit is contained in:
2011-01-05 12:04:06 +00:00
parent 288c45db59
commit 0daebd0ed6

View File

@@ -1521,7 +1521,7 @@ static void ccgSubSurf__calcSubdivLevel(CCGSubSurf *ss,
}
}
if (seam && seamEdges < 2)
if (seamEdges < 2 || seamEdges != v->numEdges)
seam = 0;
if (!v->numEdges) {
@@ -1949,7 +1949,7 @@ static void ccgSubSurf__sync(CCGSubSurf *ss) {
}
}
if (seam && seamEdges < 2)
if (seamEdges < 2 || seamEdges != v->numEdges)
seam = 0;
if (!v->numEdges) {