rokups / ImNodes

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

Refactored deletion loop to prevent array corruption #14

Closed aaronvark closed 4 years ago

aaronvark commented 4 years ago

I still ran into issues with the current setup when having 4 ins and one out, so I decided to refactor the entire loop to prevent the node->connections array from changing while it was looping. This should be much more stable.

rokups commented 4 years ago

Thanks! :)