mirror of
https://github.com/PixarAnimationStudios/OpenSubdiv
synced 2025-01-03 05:31:12 +00:00
Fixed shadowing bug accidentally introduced in computePatchParam()
This commit is contained in:
parent
88c1a00904
commit
831ff856b4
@ -781,9 +781,9 @@ PatchTableFactory::computePatchParam(
|
||||
Level const& parentLevel = refiner.getLevel(i-1);
|
||||
|
||||
Index parentFaceIndex = refinement.getChildFaceParentFace(faceIndex);
|
||||
int childIndexInParent = refinement.getChildFaceInParentFace(faceIndex);
|
||||
|
||||
if (parentLevel.getFaceVertices(parentFaceIndex).size() == 4) {
|
||||
childIndexInParent = refinement.getChildFaceInParentFace(faceIndex);
|
||||
switch ( childIndexInParent ) {
|
||||
case 0 : break;
|
||||
case 1 : { u+=ofs; } break;
|
||||
|
Loading…
Reference in New Issue
Block a user