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

Rename operation spans references and inherits #2953

Closed
dj-mcg opened this issue Mar 20, 2023 · 3 comments
Closed

Rename operation spans references and inherits #2953

dj-mcg opened this issue Mar 20, 2023 · 3 comments
Assignees
Labels
bug Something isn't working workflows Related to in-context workflows

Comments

@dj-mcg
Copy link
Collaborator

dj-mcg commented Mar 20, 2023

Describe the bug
Rename operations fail when applied to a prim that references a show asset because the rename operation is attempted on the reference and classes it inherits.

Steps to reproduce
Steps to reproduce the behavior:

  1. Create a test asset that inherits from one or more classes
  2. Create a prim within a Maya Usd scene that references this asset
  3. Attempt to rename the prim
  4. Observe the failure due to Sdf policy

Expected behavior
The rename operation only applies to the defined prim in the authoring layer and any overs in session layers.

Specs (if applicable):

  • Linux RHEL 7.9
  • Maya 2022
  • Maya USD commit SHA [dev at 5c01103]
  • Pixar USD commit SHA [dev at 84bd5a9]

Additional context
It looks like applyToAllPrimSpecs may be a little greedy for this operation.

@dj-mcg dj-mcg added the bug Something isn't working label Mar 20, 2023
@dj-mcg
Copy link
Collaborator Author

dj-mcg commented Mar 28, 2023

I have a potential fix for this - PR should land later today

@santosg87
Copy link
Collaborator

@dj-mcg is it ok to close this issue for now?

@santosg87 santosg87 added the workflows Related to in-context workflows label Apr 6, 2023
@dj-mcg
Copy link
Collaborator Author

dj-mcg commented Apr 7, 2023

Yeah this fixes our use cases, thanks!

@neilh-adsk neilh-adsk moved this to Done in maya-usd Nov 6, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working workflows Related to in-context workflows
Projects
Status: Done
Development

No branches or pull requests

2 participants