Merge pull request #3591 from Steve-Mcl/fix-back-link-to-junc

Fix junction: when wiring from a regular nodes INPUT, backwards to a junction
This commit is contained in:
Nick O'Leary 2022-05-05 10:27:48 +01:00 committed by GitHub
commit 329008bf6d
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 1 additions and 1 deletions

View File

@ -2918,7 +2918,7 @@ RED.view = (function() {
} else if (drag_line.portType === PORT_TYPE_INPUT) {
src = mouseup_node;
dst = drag_line.node;
src_port = portIndex;
src_port = portIndex || 0;
}
var link = {source: src, sourcePort:src_port, target: dst};
if (drag_line.virtualLink) {