Closed makaip closed 7 months ago
On top of this, you are able to drag out into the editor without connecting to anything and the line will remain.
I'm not sure if this is relevant to the problem but you are unable to connect a value node to two output nodes (the line is erased); maybe seeing where this happens can help solve the problem with what happens when the user presses any of the deletion buttons.
As-is, that's intentional. Otherwise there's really no way to change where the connection connects to.
In the future, it would be nice if we could connect an input node to multiple outputs. You could disconnect by re-connecting to the same output.
This should go in its own issue.
Made a PR. Still needs a code review @makaip
When connecting two node blocks, the connections update, causing a line to be drawn between the two nodules. Upon deleting the connected nodule, however, the line is still connected to where the nodule would have been. This is most possibly due to the fact that the nodule objects are still contained within the object it is connected to, despite the fact that the parent object (the node) has been deleted. However, the contents of the object are not modified, even when the screen is updated, allowing the user to drag around a node block connected to a nonexistent nodule.