mirror of
https://github.com/comfyanonymous/ComfyUI.git
synced 2026-01-26 22:30:19 +08:00
Update litegraph
This commit is contained in:
parent
1ab990fbce
commit
54193f12ad
@ -7140,6 +7140,8 @@ LGraphNode.prototype.executeAction = function(action)
|
|||||||
var selected_nodes_array = [];
|
var selected_nodes_array = [];
|
||||||
for (var i in this.selected_nodes) {
|
for (var i in this.selected_nodes) {
|
||||||
var node = this.selected_nodes[i];
|
var node = this.selected_nodes[i];
|
||||||
|
if (!node.clonable)
|
||||||
|
continue;
|
||||||
node._relative_id = index;
|
node._relative_id = index;
|
||||||
selected_nodes_array.push(node);
|
selected_nodes_array.push(node);
|
||||||
index += 1;
|
index += 1;
|
||||||
@ -14408,6 +14410,10 @@ if (typeof exports != "undefined") {
|
|||||||
this.size = [140, 80];
|
this.size = [140, 80];
|
||||||
this.properties = { enabled: true };
|
this.properties = { enabled: true };
|
||||||
this.enabled = true;
|
this.enabled = true;
|
||||||
|
// TEMP: Until ID reassignment is implemented
|
||||||
|
if (LiteGraph.use_uuids) {
|
||||||
|
this.clonable = false;
|
||||||
|
}
|
||||||
|
|
||||||
//create inner graph
|
//create inner graph
|
||||||
this.subgraph = new LiteGraph.LGraph();
|
this.subgraph = new LiteGraph.LGraph();
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user