Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Enable level 1 complexity level for basisCurves. #598

Merged
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
7 changes: 7 additions & 0 deletions lib/mayaUsd/render/vp2RenderDelegate/basisCurves.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -36,6 +36,13 @@
#include "render_delegate.h"
#include "tokens.h"

// MRenderItem supports primitive type switch on these Maya versions.
#if ((MAYA_API_VERSION >= 20200100) || \
((MAYA_API_VERSION >= 20190300) && (MAYA_API_VERSION < 20200000)) || \
((MAYA_API_VERSION >= 20180700) && (MAYA_API_VERSION < 20190000)))
#define MAYA_ALLOW_PRIMITIVE_TYPE_SWITCH

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Where was this defined before?

Copy link
Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

It wasn't defined before.

#endif

PXR_NAMESPACE_OPEN_SCOPE

namespace {
Expand Down