Clone default graph before using
This commit is contained in:
parent
1716aaa7a6
commit
06c2c19b5a
|
@ -802,7 +802,7 @@ class ComfyApp {
|
||||||
this.clean();
|
this.clean();
|
||||||
|
|
||||||
if (!graphData) {
|
if (!graphData) {
|
||||||
graphData = defaultGraph;
|
graphData = structuredClone(defaultGraph);
|
||||||
}
|
}
|
||||||
|
|
||||||
// Patch T2IAdapterLoader to ControlNetLoader since they are the same node now
|
// Patch T2IAdapterLoader to ControlNetLoader since they are the same node now
|
||||||
|
|
Loading…
Reference in New Issue