mirror of
https://github.com/PixarAnimationStudios/OpenSubdiv
synced 2025-01-08 07:40:17 +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.
|
// finest level.
|
||||||
int numMaxLevelFaces = refiner.GetLevel(refiner.GetMaxLevel()).GetNumFaces();
|
int numMaxLevelFaces = refiner.GetLevel(refiner.GetMaxLevel()).GetNumFaces();
|
||||||
|
|
||||||
_vertexStencils.reserve(numMaxLevelFaces*20);
|
_vertexStencils.reserve(numMaxLevelFaces*16);
|
||||||
_varyingStencils.reserve(numMaxLevelFaces*20);
|
_varyingStencils.reserve(numMaxLevelFaces*16);
|
||||||
}
|
}
|
||||||
|
|
||||||
ConstIndexArray
|
ConstIndexArray
|
||||||
|
Loading…
Reference in New Issue
Block a user