mirror of
https://github.com/PixarAnimationStudios/OpenSubdiv
synced 2024-11-23 20:20:09 +00:00
Fixed Far::TopologyRefiner::GetNumLevels()
This method now returns the number of _farLevels where previously it returned the number of _levels. This is primarily a semantic difference, as the two containers should have equal size. But this method is intended to accompany Far::TopologyRefiner::GetLevel() which returns a reference to an element in _farLevels;
This commit is contained in:
parent
423d7eff79
commit
3aaf491dda
@ -66,7 +66,7 @@ public:
|
||||
bool IsUniform() const { return _isUniform; }
|
||||
|
||||
/// \brief Returns the number of refinement levels
|
||||
int GetNumLevels() const { return (int)_levels.size(); }
|
||||
int GetNumLevels() const { return (int)_farLevels.size(); }
|
||||
|
||||
/// \brief Returns the highest level of refinement
|
||||
int GetMaxLevel() const { return _maxLevel; }
|
||||
|
Loading…
Reference in New Issue
Block a user