1
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:
pythongosssss
2023-03-31 20:35:26 +01:00
parent 1716aaa7a6
commit 06c2c19b5a

View File

@@ -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