mirror of
https://github.com/PixarAnimationStudios/OpenSubdiv
synced 2025-01-15 10:50:07 +00:00
Fixed build breakage in mayaPolySmooth.
Make sure to maintain constness to fix the build break for gcc.
This commit is contained in:
parent
997d6035b9
commit
fbfc657d03
@ -659,7 +659,7 @@ MayaPolySmooth::compute( const MPlug& plug, MDataBlock& data ) {
|
||||
std::vector<Vertex> refinedVerts(
|
||||
refiner->GetNumVerticesTotal() - refiner->GetLevel(0).GetNumVertices());
|
||||
|
||||
Vertex * srcVerts = controlVerts;
|
||||
Vertex const * srcVerts = controlVerts;
|
||||
Vertex * dstVerts = &refinedVerts[0];
|
||||
for (int level = 1; level <= subdivisionLevel; ++level) {
|
||||
OpenSubdiv::Far::PrimvarRefiner(*refiner).Interpolate(level, srcVerts, dstVerts);
|
||||
|
Loading…
Reference in New Issue
Block a user