-
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
MAYA125953 worldspace flag for Maya USD export #2708
Conversation
pierrebai-adsk
commented
Nov 8, 2022
- 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.
@@ -269,9 +269,6 @@ void UsdMayaTransformWriter::_MakeAnimChannelsUnique(const UsdGeomXformable& usd | |||
existingOps.emplace(op.GetOpName()); | |||
} | |||
|
|||
if (existingOps.size() == 0) | |||
return; |
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.
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.
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. |