-
Notifications
You must be signed in to change notification settings - Fork 201
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
EMSUSD-1612 allow duplicating material to USD
Refactor the prim update manager: - Refactor the duplicate function into two functions: duplicateToMaya and duplicateToUsd. - The duplicateToUsd function takes a Maya node instead of a UFE path to support Maya materials, which are not DAG objects. - Support non-DAG object in the pushExport function when creating the full object list. - This is necessary so that the material-only export correctly identify the material as being in the selection. Improve the duplicate command: - Support parsing pure Maya object names as the first argument to the duplicate command. - When the first argument cannot be parsed as UFE then directly call the USD duplicate function with teh Maya object instead of the UFE path. Add a unit test for duplicating to USD a material.
- Loading branch information
1 parent
3bdf504
commit 8db3de1
Showing
5 changed files
with
235 additions
and
146 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.