[FIX] remove all output 'FLOW' connection of the original node when a flow connection is builded.

This commit is contained in:
xiaoshuisheng 2023-12-11 12:22:01 +08:00
parent 2d2075fe2d
commit c89300743b

View File

@ -4309,6 +4309,15 @@
changed = true;
}
break;
// if it is a flow-control connection, and the original output link is not null, discounnect
case "FLOW":
console.log("[Link Connect] remove output links of 'FLOW' connection.");
this.graph.beforeChange();
this.disconnectOutput(slot);
changed = true;
break;
default:
break;
}