NatronGitHub / Natron

Open-source video compositing software. Node-graph based. Similar in functionalities to Adobe After Effects and Nuke by The Foundry.
http://NatronGitHub.github.io
GNU General Public License v2.0
4.54k stars 332 forks source link

(Bug): Undo unplugs the wrong connection to the same node #838

Open HeCorr opened 1 year ago

HeCorr commented 1 year ago

Make sure to follow our issue report guidelines

Natron version

Natron version 2.4.3 Release

Operating system

Windows 10 Pro [1909]

System specs

RAM: 32GB CPU: AMD Ryzen 7 3700x GPU: NVidia RTX 3060

Did you install Natron using the official installer?

Custom installation path

No response

What were you trying to do?

Undo a mistaken duplicate node connection (node A connected twice to node B via two connections)

What did you expect to happen? What happened instead?

Instead of disconnecting the last connected input (i.e. Mask) and keeping the original connection (i.e. input A), it disconnected input A and left the Mask input connected.

Here's a video demonstrating the issue:

https://user-images.githubusercontent.com/75134774/196042294-9cba389a-c30e-4170-be0a-3c02914bb2ad.mp4

Step-by-step reproduction instructions

  1. Start Natron
  2. Add any node (Constant should work)
  3. Add a Merge node
  4. Connect Merge's A input into the first node
  5. Connect Merge's Mask input into the same node
  6. Undo.

Additional details

No response