Object containers in the EditorContext are not properly cleaned up #173
Labels
Content-Length: 242105 | pFad | https://github.com/thedmd/imgui-node-editor/issues/173
1BFetched URL: https://github.com/thedmd/imgui-node-editor/issues/173
Alternative Proxies:
The object containers
m_Nodes
,m_Pins
,m_Links
insideEditorContext
are not properly cleaned after a node or link is deleted. As long as the sameEditorContext
is used, these containers continue to inflate. So when a node is deleted, if a same ID is used to create another node, theFindNode
function returns the previous node object with the settings of the previous node. In groups, for example, this problem causes it to have the previous group's size when a new group with the same ID is created (after the first one is deleted).The text was updated successfully, but these errors were encountered: