-
Notifications
You must be signed in to change notification settings - Fork 202
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
EMSUSD-1722 fix node origin detection #3984
Merged
Merged
Conversation
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
Collaborator
pierrebai-adsk
commented
Oct 31, 2024
- Pass the proxy node to the layer manager so it can determine which layer manager corresponds to the proxy node.
- We keep track of the association by connecting a new proxy shape attribute to the layer manager so that we can traverse the connection to find the layer manager.
- Fix a crash in MayaSessionState when the proxy shape has been deleted before the on-idle callback is run.
- This can happen in scripts that creates scene, a stage and clear the scene in one go, before an on-idle callback is run.
- Make the test more similar to the script in the ticket.
pierrebai-adsk
force-pushed
the
bailp/EMSUSD-1722/fix-node-origin-detection
branch
from
October 31, 2024 20:28
6fdb336
to
5d74b6e
Compare
pierrebai-adsk
force-pushed
the
bailp/EMSUSD-1722/fix-node-origin-detection
branch
from
October 31, 2024 20:29
5d74b6e
to
2a28c37
Compare
- Pass the proxy node to the layer manager so it can determine which layer manager corresponds to the proxy node. - We keep track of the association with a new proxy shape attribute that contains the UUID of the layer manager node so that we can lookup the node when needed to find the layer manager. - Fix a crash in MayaSessionState when the proxy shape has been deleted before the on-idle callback is run. - This can happen in scripts that creates scene, a stage and clear the scene in one go, before an on-idle callback is run. - Make the test more similar to the script in the ticket. Note: originally, I tried to use an attribute plug connection, but we're not allowed to connect or disconnect plugs during DG evaluation and that was preventing us from updating the layer manager connection in the proxy shape.
pierrebai-adsk
force-pushed
the
bailp/EMSUSD-1722/fix-node-origin-detection
branch
from
October 31, 2024 21:07
2a28c37
to
f17afcc
Compare
pierrebai-adsk
commented
Nov 1, 2024
pierrebai-adsk
commented
Nov 1, 2024
pierrebai-adsk
commented
Nov 1, 2024
pierrebai-adsk
commented
Nov 1, 2024
pierrebai-adsk
commented
Nov 1, 2024
barbalt
approved these changes
Nov 4, 2024
pierrebai-adsk
added
the
ready-for-merge
Development process is finished, PR is ready for merge
label
Nov 4, 2024
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Labels
bug
Something isn't working
ready-for-merge
Development process is finished, PR is ready for merge
workflows
Related to in-context workflows
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.