Skip to content

Conversation

@0HyperCube
Copy link
Contributor

Closes #3227

@TrueDoctor
Copy link
Member

!build

@github-actions
Copy link

@TrueDoctor
Copy link
Member

image

I think the removal of the set_input call causes the ui to not update properly if I reconnect the layers

@0HyperCube 0HyperCube force-pushed the fix-crash-cyclic-nodes branch from fde691c to 383f5ce Compare October 29, 2025 20:48
@0HyperCube
Copy link
Contributor Author

@TrueDoctor I can't reproduce this, however I have reverted the change.

I struggle to understand the control flow of this code since the set_input function recursively calls itself twice: in that original recursion, and also in the disconnect_input function.

@TrueDoctor
Copy link
Member

!build

@TrueDoctor
Copy link
Member

@0HyperCube this seems to have fixed it, I can no longer reproduce the error

@TrueDoctor TrueDoctor enabled auto-merge (squash) October 29, 2025 21:47
@github-actions
Copy link

@TrueDoctor
Copy link
Member

@0HyperCube do you want to do the rebase, or should I do that?

auto-merge was automatically disabled October 30, 2025 10:20

Head branch was pushed to by a user without write access

@0HyperCube 0HyperCube force-pushed the fix-crash-cyclic-nodes branch from 383f5ce to 273146c Compare October 30, 2025 10:20
@0HyperCube
Copy link
Contributor Author

@TrueDoctor I've rebased it.

@TrueDoctor TrueDoctor merged commit 1b9a492 into GraphiteEditor:master Oct 30, 2025
3 checks passed
TrueDoctor pushed a commit to daniil-loban/Graphite that referenced this pull request Nov 2, 2025
* Fix crash when creating cyclic nodes * Re-add the recursive set_input call
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

2 participants