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-127770 missing discard edits #3154

Merged
merged 1 commit into from
Jun 13, 2023

Conversation

pierrebai-adsk
Copy link
Collaborator

@pierrebai-adsk pierrebai-adsk commented Jun 12, 2023

After editing-as-Maya and then deleting the stage, the menu for discard edit would not show up or would do nothing. Fix this by correctly updating the pulled information on the Maya node.

  • Correctly compute the new pulled path in the case where the stage proxy node no longer exists.
  • This happens because as part of deletion, Maya reparents child nodes before deleting them.
  • Refactor some common code to extract the list of UFE components from a trie node full path.

@pierrebai-adsk pierrebai-adsk added bug Something isn't working adsk Related to Autodesk plugin labels Jun 12, 2023
@pierrebai-adsk pierrebai-adsk added ready-for-merge Development process is finished, PR is ready for merge and removed ready-for-merge Development process is finished, PR is ready for merge labels Jun 13, 2023
After editing-as-Maya and then deleting teh stage, the menu for discard edit would not show up or would do nothing. Fix this by correctly updating the pulled information on the Maya node.

- Correctly compute the new pulled path in the case where the stage proxy node no longer exists.
- This happens because as part of deletion, Maya reparents child nodes before deleting them.
- Refactor some common code to extract the list of UFE components from a trie node full path.
@pierrebai-adsk pierrebai-adsk added the ready-for-merge Development process is finished, PR is ready for merge label Jun 13, 2023
@seando-adsk seando-adsk merged commit 9726534 into dev Jun 13, 2023
@seando-adsk seando-adsk deleted the bailp/MAYA-127770/missing-discard-after-delete branch June 13, 2023 19:46
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 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.

4 participants