mirror of
https://github.com/comfyanonymous/ComfyUI.git
synced 2025-08-04 07:52:46 +08:00
Clone default graph before using
This commit is contained in:
@@ -802,7 +802,7 @@ class ComfyApp {
|
||||
this.clean();
|
||||
|
||||
if (!graphData) {
|
||||
graphData = defaultGraph;
|
||||
graphData = structuredClone(defaultGraph);
|
||||
}
|
||||
|
||||
// Patch T2IAdapterLoader to ControlNetLoader since they are the same node now
|
||||
|
Reference in New Issue
Block a user