-
Notifications
You must be signed in to change notification settings - Fork 203
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
Use new UsdPrimDefintionAPI with latest USD #3098
Use new UsdPrimDefintionAPI with latest USD #3098
Conversation
VtTokenArray allowedTokens; | ||
if (_usdAttr.GetPrim().GetPrimDefinition().GetPropertyMetadata( | ||
_usdAttr.GetName(), SdfFieldKeys->AllowedTokens, &allowedTokens)) { | ||
for (auto const& token : allowedTokens) { |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
IDK enough to judge, but I'm going to rightly assume you know better than us about the right way to fetch enum tokens :)
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Just a few questions, otherwise LGTM.
This API change will take effect with the next USD release - 23.08.