mirror of
https://github.com/PixarAnimationStudios/OpenSubdiv
synced 2024-11-23 20:20:09 +00:00
Fix Far::PatchDescriptor::IsAdaptive() for legacy Gregory patches:
- determine based on patch type ID rather than control point count
This commit is contained in:
parent
3ba6a1a11c
commit
de29bc897f
@ -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