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

[MAYA-115157] Add action in the outliner's context menu to toggle the instanceable state of a prim #1873

Merged

Conversation

gracekumagai
Copy link

This PR adds an action to the Outliner's context menu to toggle the instanceable state of a prim.

Following the design, it provides the options to "Mark as Instanceable" if the prim is not an instance and "Unmark as Instanceable" if the prim is an instance.

@kxl-adsk kxl-adsk added ufe-usd Related to UFE-USD plugin in Maya-Usd workflows Related to in-context workflows labels Dec 3, 2021
Copy link
Collaborator

@seando-adsk seando-adsk left a comment

Choose a reason for hiding this comment

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

The code changes look good to me.

Copy link
Collaborator

@womanyoyoyo-adsk womanyoyoyo-adsk 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. Thanks for following the design.

@kxl-adsk kxl-adsk merged commit 80b5e0c into Autodesk:dev Dec 3, 2021
@womanyoyoyo-adsk womanyoyoyo-adsk linked an issue Dec 6, 2021 that may be closed by this pull request
@womanyoyoyo-adsk womanyoyoyo-adsk changed the title Add action in the outliner's context menu to toggle the instanceable state of a prim [MAYA-115157] Add action in the outliner's context menu to toggle the instanceable state of a prim Dec 6, 2021
@gracekumagai gracekumagai deleted the pr/outliner-toggle-instanceable-state branch December 6, 2021 19:22
JGamache-autodesk added a commit that referenced this pull request May 27, 2022
Using GetShaderNodeByIdentifier resolves issues where there is more than
one node sharing the same name with two different versions.

See Pixar Issue #1873 about version parsing failure in usdMtlx.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
ufe-usd Related to UFE-USD plugin in Maya-Usd workflows Related to in-context workflows
Projects
None yet
Development

Successfully merging this pull request may close these issues.

User-friendly UI to de-instance models
5 participants