mirror of
https://github.com/PixarAnimationStudios/OpenSubdiv
synced 2025-01-05 06:21:07 +00:00
Fix the reserve size for BSpline patch (16, not 20)
This commit is contained in:
parent
c380a0d67e
commit
37bce3be14
@ -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
|
||||
|
Loading…
Reference in New Issue
Block a user