rokups / ImNodes

Node graph implementation for Dear ImGui. Used in https://github.com/rokups/rbfx
MIT License
656 stars 57 forks source link

Connection remaining after the node has beed deleted #2

Closed KonstantinVeljanovski closed 5 years ago

KonstantinVeljanovski commented 5 years ago

Hello,

I found a bug where the connection remains even after the node has been deleted. Example: image

Any action after that causes a crash.

rokups commented 5 years ago

You are in charge of rendering connections. Do not call ImNodes::Connection() when one of the nodes is missing.