Clone default graph before using

This commit is contained in:
pythongosssss 2023-03-31 20:35:26 +01:00
parent 1716aaa7a6
commit 06c2c19b5a
1 changed files with 1 additions and 1 deletions

View File

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