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

MAYA125953 worldspace flag for Maya USD export #2708

Merged
merged 1 commit into from
Nov 9, 2022

Conversation

pierrebai-adsk
Copy link
Collaborator

  • Added -worldspace flag to the mayaUSDExport command.
  • Added worldspace flag to the UsdMayaJobExportArgs structure.
  • Added worldspace to the UsdMayaJobExportArgsTokens.
  • Added docs about worldspace flag to the commands read-me.
  • Added default value for the worldspace flag in UsdMayaJobExportArgs.
  • Added worldspace parsing to UsdMayaJobExportArgs.
  • Added worldspace flag to the Python wrapper.
  • Added worldspace flag default to the Python default dict.
  • Fixed the extractVector template function to not be exported since it is inlined.
  • Fixed the UsdMayaExportTranslator to use the root prim options the same way the export command does.
  • Added worldspace flag to the export UI.
  • Don't assume that all new channels have unique names when making their names unique.
  • Walk up the DAG stack to generate the channels for all ancestors when using worldspace flag.
  • Separate channel generation from writing the xform op, to support recursion to generate ancestor.
  • Added tests for the worldspace flag in the unit tests.

- Added -worldspace flag to the mayaUSDExport command.
- Added worldspace flag to the UsdMayaJobExportArgs structure.
- Added worldspace to the UsdMayaJobExportArgsTokens.
- Added docs about worldspace flag to the commands read-me.
- Added default value for the worldspace flag in UsdMayaJobExportArgs.
- Added worldspace parsing to UsdMayaJobExportArgs.
- Added worldspace flag to the Python wrapper.
- Added worldspace flag default to the Python default dict.
- Fixed the extractVector template function to not be exported since it is inlined.
- Fixed the UsdMayaExportTranslator to use the root prim options the same way the export command does.
- Added worldspace flag to the export UI.
- Don't assume that all new channels have unique names when making their names unique.
- Walk up the DAG stack to generate the channels for all ancestors when using worldspace flag.
- Separate channel generation from writing the xform op, to support recursion to generate ancestor.
- Added tests for the worldspace flag in the unit tests.
@pierrebai-adsk pierrebai-adsk added enhancement New feature or request adsk Related to Autodesk plugin import-export Related to Import and/or Export labels Nov 8, 2022
@@ -269,9 +269,6 @@ void UsdMayaTransformWriter::_MakeAnimChannelsUnique(const UsdGeomXformable& usd
existingOps.emplace(op.GetOpName());
}

if (existingOps.size() == 0)
return;
Copy link
Collaborator Author

Choose a reason for hiding this comment

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

This was assuming that new channels all had different names, which is incorrect when the world-space flag is used as multiple transforms from ancestors can be generated.

@pierrebai-adsk
Copy link
Collaborator Author

Jerry, if you are too busy, I could ask someone else from our team, but you are the export expert, so I chose you by default.

@pierrebai-adsk pierrebai-adsk added the ready-for-merge Development process is finished, PR is ready for merge label Nov 9, 2022
@seando-adsk seando-adsk merged commit 46e120b into dev Nov 9, 2022
@seando-adsk seando-adsk deleted the bailp/MAYA-125953/worldspace-usd-export branch November 9, 2022 16:12
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
adsk Related to Autodesk plugin enhancement New feature or request import-export Related to Import and/or Export ready-for-merge Development process is finished, PR is ready for merge
Projects
None yet
Development

Successfully merging this pull request may close these issues.

4 participants