Skip to content

Fix race condition in adding object to scene vs execution#119

Merged
vade merged 2 commits intomainfrom
fixes/103
Nov 24, 2025
Merged

Fix race condition in adding object to scene vs execution#119
vade merged 2 commits intomainfrom
fixes/103

Conversation

@vade
Copy link
Copy Markdown
Contributor

@vade vade commented Nov 24, 2025

This moves the actual calling of syncNodesToScene from the graph

The bug was that sync nodes to scene has a race that a node has EXECUTED to create the object to add to the scene, but execution hasnt occured yet (just connection)

This moves conditional syncing of scene objects to the scene graph, AFTER an execution of newly connected nodes triggers the lazy creation of a Satin Object in a Consumer / BaseObjectNode.

At least this was a surgical change :D

vade added 2 commits November 24, 2025 15:19
…dding to objects to the graph, with how graphRenderer was rendering.
@vade vade merged commit c3ef1e3 into main Nov 24, 2025
@vade vade deleted the fixes/103 branch November 24, 2025 20:25
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.

1 participant