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

create single token for "usdVariantSet_" #160

Conversation

pmolodo
Copy link
Contributor

@pmolodo pmolodo commented Feb 3, 2017

Description of Change(s)

The same string constant - the prefix before attribute names used to select variant sets - was defined in two different places: as USD_VARIANT_SET_PREFIX in referenceAssembly, and _tokens->VariantSetPlugNamePrefix in translatorModelAssembly. It caused some initial confusion, so I decided to unify on PxrUsdMayaVariantSetTokens in referenceAssembly. (I placed it in referenceAssembly, because translatorModelAssembly already includes referenceAssembly, but not vice-versa.)

Included Commit(s)

Fixes Issue(s)

  • None filed

was a string constant USD_VARIANT_SET_PREFIX in referenceAssembly.cpp, and _tokens->VariantSetPlugNamePrefix in translatorModelAssembly
@pixar-oss pixar-oss merged commit 0feb6e2 into PixarAnimationStudios:dev May 13, 2017
pixar-oss added a commit that referenced this pull request May 13, 2017
@pmolodo pmolodo deleted the unify_usdVariantSet_prefix_token branch March 12, 2019 23:03
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants