Compute transition mask for irregular patches

The irregular patches around extraordinary vertices
might have transitions edges depending on the secondary
refinement level specified during topological refinement.

We used to skip the computation of the transition mask
for irregular patches, but this is now necessary
since the introduction of the secondary level option.
This commit is contained in:
David G Yu 2019-05-30 12:12:53 -07:00
parent 5fec55ede8
commit 17bc75b488

View File

@ -1237,7 +1237,7 @@ PatchTableBuilder::populatePatches() {
PatchParam patchParam =
_patchBuilder->ComputePatchParam(patch.levelIndex, patch.faceIndex,
_ptexIndices, patchInfo.isRegular, patchInfo.paramBoundaryMask,
patchInfo.isRegular /* condition to compute transition mask */);
true/* condition to compute transition mask */);
*arrayBuilder->pptr++ = patchParam;
//