Fix copy paste issue with litegraph.

This commit is contained in:
comfyanonymous 2024-04-05 14:59:05 -04:00
parent 38ed2da2dd
commit a7dd82e668
1 changed files with 1 additions and 1 deletions

View File

@ -7247,7 +7247,7 @@ LGraphNode.prototype.executeAction = function(action)
//create links
for (var i = 0; i < clipboard_info.links.length; ++i) {
var link_info = clipboard_info.links[i];
var origin_node;
var origin_node = undefined;
var origin_node_relative_id = link_info[0];
if (origin_node_relative_id != null) {
origin_node = nodes[origin_node_relative_id];