mirror of
https://github.com/PixarAnimationStudios/OpenSubdiv
synced 2024-11-28 14:21:07 +00:00
Fixed regression in application of smooth corner patch approximation:
- only apply the approximation at corners determined to be smooth
This commit is contained in:
parent
eec8e94b2a
commit
a18a706f93
@ -842,7 +842,8 @@ PatchBuilder::GetIrregularPatchCornerSpans(int levelIndex, Index faceIndex,
|
||||
}
|
||||
|
||||
// Legacy option -- reinterpret a smooth corner as sharp:
|
||||
if (_options.approxSmoothCornerWithSharp && vTag._xordinary &&
|
||||
bool smoothCorner = !cornerSpans[i]._sharp;
|
||||
if (smoothCorner && _options.approxSmoothCornerWithSharp && vTag._xordinary &&
|
||||
vTag._boundary && !vTag._infSharp && !vTag._nonManifold) {
|
||||
int nFaces = cornerSpans[i].isAssigned()
|
||||
? cornerSpans[i]._numFaces
|
||||
|
Loading…
Reference in New Issue
Block a user