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

EMSUSD-498 support ignoring variants when merging to USD #3324

Merged
merged 1 commit into from
Sep 13, 2023

Conversation

pierrebai-adsk
Copy link
Collaborator

  • Add a "-ignoreVariants" flag to the mayaUsdMergeToUsd command.
  • Add a "ignoreVariants" user argument to the UsdMayaPrimUpdaterArgs class.
  • Use the ignoreVariants from UsdMayaPrimUpdaterArgs to set the ignoreVariants flag in MergePrimsOptions.
  • Correctly strip the variant selection from the SdfPath in a few place where it was missing in the merge code.
  • Add unit tests to verify that merging inside and outside variants work.

- Add a "-ignoreVariants" flag to the mayaUsdMergeToUsd command.
- Add a "ignoreVariants" user argument to the UsdMayaPrimUpdaterArgs class.
- Use the ignoreVariants from UsdMayaPrimUpdaterArgs to set the ignoreVariants flag in MergePrimsOptions.
- Correctly strip the variant selection from the SdfPath in a few place where it was missing in the merge code.
- Add unit tests to verify that merging inside and outside variants work.
@pierrebai-adsk pierrebai-adsk added enhancement New feature or request adsk Related to Autodesk plugin labels Sep 12, 2023
Copy link
Collaborator

@vlasovi vlasovi left a comment

Choose a reason for hiding this comment

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

Looks good

@pierrebai-adsk pierrebai-adsk added the ready-for-merge Development process is finished, PR is ready for merge label Sep 13, 2023
@seando-adsk seando-adsk added workflows Related to in-context workflows and removed enhancement New feature or request adsk Related to Autodesk plugin labels Sep 13, 2023
@seando-adsk seando-adsk merged commit 6c67850 into dev Sep 13, 2023
@seando-adsk seando-adsk deleted the bailp/EMSUSD-498/variants-vs-merge-to-usd branch September 13, 2023 17:35
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
ready-for-merge Development process is finished, PR is ready for merge workflows Related to in-context workflows
Projects
None yet
Development

Successfully merging this pull request may close these issues.

4 participants