christophhart / HISE

The open source framework for sample based instruments
http://hise.audio
Other
1.05k stars 122 forks source link

[UX/ Scriptnode] Copy/Pasting Nodes Is Broken #546

Closed aaronventure closed 1 month ago

aaronventure commented 4 months ago

When you copy a node, or import a snippet from the clipboard, HISE will:

What should happen is:

The lack of proper implementation of this has some severe effects on the workflow for complicated networks:

christoph-hart commented 1 month ago

Funny, the duplicate function already works properly (Ctrl+D) which I was using all the time so I didn't spot the issue in the 2-step copy & paste version.

Should be good now.

aaronventure commented 1 month ago

This is still broken, including duplicate:

if you duplicate or copy+paste a node that has outgoing connections without also duplicating/cping these nodes, the connections will double. You will now have two or more nodes outputting to the same parameters, which should not be possible.

Duplication or pasting should have a check that severs outgoing connections from a node if the output target node is not also being duplicated/copied.