Bug description:
When adding a copied node and manually connecting it, performing redo deletes the last node. The manual connection action is not tracked correctly in the undo/redo history.
Expected behavior:
Manual connections should be included in the undo/redo stack. Redo must not delete nodes and should accurately restore the last undone action.
Video:
node_endge_undo.zip
Additional information:
Repro steps:
- Copy an existing node
- Paste the node
- Manually connect the pasted node
- Undo
- Redo
Result:
- Redo deletes the last node
- Manual connection is not represented in undo/redo history