When deleting points that have nodes connected to them, the editor throws errors. This happens because the DeletePoint method forgets to disconnect the node that is connected to the delete point before attempting to shift the node connections.
Fix
Call DisconnectNode on the deleted point index so that the connected node (if it exists) is disconnected before reconnecting other nodes.
Issue
See Discord thread
When deleting points that have nodes connected to them, the editor throws errors. This happens because the
DeletePoint
method forgets to disconnect the node that is connected to the delete point before attempting to shift the node connections.Fix
Call
DisconnectNode
on the deleted point index so that the connected node (if it exists) is disconnected before reconnecting other nodes.