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-127427 fix rename when staged multiple times #2904

Merged
merged 2 commits into from
Feb 28, 2023

Conversation

pierrebai-adsk
Copy link
Collaborator

  • Protect UsdSceneItem against invalid prims.
  • Protect USD UI info handler against invalid prims.
  • These can happen for example when we're in the middle of a rename and the outliner gets updated or redrawn.
  • Fix the rename command to send rename notifications to all proxy shape that share the same stage.
  • At the same time, refactor the redo/undo code that was 99% identical.

- Protect UsdSceneItem against invalid prims.
- Protect USD UI info handler against invalid prims.
- These can happen for example when we're in the middle of a rename and the outliner gets updated or redrawn.
- Fix the rename command to send rename notifications to all proxy shape that share the same stage.
- At the same time, refactor the redo/undo code that was 99% identical.
@pierrebai-adsk pierrebai-adsk added bug Something isn't working adsk Related to Autodesk plugin outliner Features affecting Maya's Outliner labels Feb 27, 2023
The prim can be stale when a rename is in the middle of a composite command. For example, the assign-material command.
Copy link
Collaborator

@vlasovi vlasovi 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

@pierrebai-adsk pierrebai-adsk added the ready-for-merge Development process is finished, PR is ready for merge label Feb 28, 2023
@seando-adsk seando-adsk merged commit 255a865 into dev Feb 28, 2023
@seando-adsk seando-adsk deleted the bailp/MAYA-127427/outliner-access-dead-prim branch February 28, 2023 18:37
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
adsk Related to Autodesk plugin bug Something isn't working outliner Features affecting Maya's Outliner 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.

5 participants