Merge pull request #516 from jcowles/dev-fixmaya

Fix MayaPolySmooth example
This commit is contained in:
Takahito Tejima 2015-05-22 08:56:14 -07:00
commit 5df793762b

View File

@ -523,9 +523,10 @@ convertToMayaMeshData(OpenSubdiv::Far::TopologyRefiner const & refiner,
typedef OpenSubdiv::Far::ConstIndexArray IndexArray;
int maxlevel = refiner.GetMaxLevel(),
int maxlevel = refiner.GetMaxLevel();
OpenSubdiv::Far::TopologyLevel const & refLastLevel = refiner.GetLevel(maxLevel);
OpenSubdiv::Far::TopologyLevel const & refLastLevel
= refiner.GetLevel(maxlevel);
int nfaces = refLastLevel.GetNumFaces();