Fix Far::PatchDescriptor::IsAdaptive() for legacy Gregory patches:

- determine based on patch type ID rather than control point count
This commit is contained in:
barry 2019-02-04 11:04:26 -08:00
parent 3ba6a1a11c
commit de29bc897f

View File

@ -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