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

Update related input attribute when renaming a nodegraph #1930

Merged

Conversation

jsjtxietian
Copy link
Contributor

@jsjtxietian jsjtxietian commented Jul 10, 2024

Fixes #1912

The problem is that after renaming, the input PortElement's _attributeMap still hold the old name, so when drawing the graph, getConnectedOutput failed.

Copy link

linux-foundation-easycla bot commented Jul 10, 2024

CLA Signed

The committers listed above are authorized under a signed CLA.

@jstone-lucasfilm
Copy link
Member

This looks very promising, thanks @jsjtxietian! I'm CC'ing @lfl-eholthouser, who knows this code the best, for her thoughts and suggestions.

Signed-off-by: Jonathan Stone <jstone@lucasfilm.com>
@jstone-lucasfilm jstone-lucasfilm changed the title Update related input's attribute when renaming a nodegrah Update related input's attribute when renaming a nodegraph Jul 11, 2024
Signed-off-by: Jonathan Stone <jstone@lucasfilm.com>
Signed-off-by: Jonathan Stone <jstone@lucasfilm.com>
Copy link
Member

@jstone-lucasfilm jstone-lucasfilm left a comment

Choose a reason for hiding this comment

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

Thanks for this fix, @jsjtxietian!

@jstone-lucasfilm jstone-lucasfilm changed the title Update related input's attribute when renaming a nodegraph Update related input attribute when renaming a nodegraph Jul 13, 2024
@jstone-lucasfilm jstone-lucasfilm merged commit a86f677 into AcademySoftwareFoundation:main Jul 13, 2024
34 checks passed
@jsjtxietian jsjtxietian deleted the rename-crash branch July 14, 2024 03:00
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Graph Editor: Reproducible crash after renaming node
3 participants