Fix the reserve size for BSpline patch (16, not 20)

This commit is contained in:
Takahito Tejima 2015-09-17 15:14:54 -07:00
parent c380a0d67e
commit 37bce3be14

View File

@ -61,8 +61,8 @@ EndCapBSplineBasisPatchFactory::EndCapBSplineBasisPatchFactory(
// finest level.
int numMaxLevelFaces = refiner.GetLevel(refiner.GetMaxLevel()).GetNumFaces();
_vertexStencils.reserve(numMaxLevelFaces*20);
_varyingStencils.reserve(numMaxLevelFaces*20);
_vertexStencils.reserve(numMaxLevelFaces*16);
_varyingStencils.reserve(numMaxLevelFaces*16);
}
ConstIndexArray