mirror of
https://github.com/PixarAnimationStudios/OpenSubdiv
synced 2024-11-15 08:20:08 +00:00
Fix parametric rotation in Far::PatchParam for Gregory Boundary patches (always 0)
This commit is contained in:
parent
09e5e5fefa
commit
de4564a779
@ -1112,9 +1112,9 @@ PatchTablesFactory::populateAdaptivePatches( TopologyRefiner const & refiner,
|
||||
getQuadOffsets(*level, faceIndex, quad_G_C1_P);
|
||||
quad_G_C1_P += 4;
|
||||
|
||||
int bIndex = (patchTag._boundaryIndex+1)%4;
|
||||
//int bIndex = (patchTag._boundaryIndex+1)%4;
|
||||
|
||||
pptrs.GB = computePatchParam(refiner, i, faceIndex, bIndex, pptrs.GB);
|
||||
pptrs.GB = computePatchParam(refiner, i, faceIndex, 0, pptrs.GB);
|
||||
|
||||
if (tables->_fvarPatchTables) {
|
||||
gatherFVarPatchVertices(refiner, i, faceIndex, 0, levelFVarVertOffsets, fptrs.GB);
|
||||
|
Loading…
Reference in New Issue
Block a user