mirror of
https://github.com/PixarAnimationStudios/OpenSubdiv
synced 2024-11-30 23:30:07 +00:00
Merge pull request #516 from jcowles/dev-fixmaya
Fix MayaPolySmooth example
This commit is contained in:
commit
5df793762b
@ -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();
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user