Fix build for vtrViewer code example (match refactor of Far::StencilFactory)

This commit is contained in:
manuelk 2014-10-22 11:01:22 -07:00
parent 7d07e341e0
commit 8e5426d93e

View File

@ -649,8 +649,7 @@ createVtrMesh(Shape * shape, int maxlevel) {
{
OpenSubdiv::Far::StencilTablesFactory::Options options;
options.generateOffsets=true;
options.generateAllLevels=true;
options.sortBySize=false;
options.generateIntermediateLevels=true;
OpenSubdiv::Far::StencilTables const * stencilTables =
OpenSubdiv::Far::StencilTablesFactory::Create(*refiner, options);