mirror of
https://github.com/PixarAnimationStudios/OpenSubdiv
synced 2024-11-23 20:20:09 +00:00
Merge pull request #1053 from barfowl/far_patch_is_adaptive
Fixed Far::PatchDescriptor::IsAdaptive() for legacy Gregory
This commit is contained in:
commit
d468aca0a2
@ -84,7 +84,7 @@ public:
|
||||
|
||||
/// \brief Returns true if the type is an adaptive (non-linear) patch
|
||||
static inline bool IsAdaptive(Type type) {
|
||||
return GetNumControlVertices( type ) > 4;
|
||||
return type > TRIANGLES;
|
||||
}
|
||||
|
||||
/// \brief Returns true if the type is an adaptive patch
|
||||
|
Loading…
Reference in New Issue
Block a user