Skip to content
GitLab
Menu
Projects
Groups
Snippets
Loading...
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
Menu
Open sidebar
chenpangpang
ComfyUI
Commits
7114cfec
"...composable_kernel_onnx.git" did not exist on "8557901d027482d483314701d23e879e68f01bfd"
Commit
7114cfec
authored
Nov 15, 2023
by
comfyanonymous
Browse files
Always clone graph data when loading to fix some load issues.
parent
629e4c55
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
9 additions
and
7 deletions
+9
-7
web/scripts/app.js
web/scripts/app.js
+9
-7
No files found.
web/scripts/app.js
View file @
7114cfec
...
@@ -1489,16 +1489,18 @@ export class ComfyApp {
...
@@ -1489,16 +1489,18 @@ export class ComfyApp {
let
reset_invalid_values
=
false
;
let
reset_invalid_values
=
false
;
if
(
!
graphData
)
{
if
(
!
graphData
)
{
if
(
typeof
structuredClone
===
"
undefined
"
)
graphData
=
defaultGraph
;
{
graphData
=
JSON
.
parse
(
JSON
.
stringify
(
defaultGraph
));
}
else
{
graphData
=
structuredClone
(
defaultGraph
);
}
reset_invalid_values
=
true
;
reset_invalid_values
=
true
;
}
}
if
(
typeof
structuredClone
===
"
undefined
"
)
{
graphData
=
JSON
.
parse
(
JSON
.
stringify
(
graphData
));
}
else
{
graphData
=
structuredClone
(
graphData
);
}
const
missingNodeTypes
=
[];
const
missingNodeTypes
=
[];
for
(
let
n
of
graphData
.
nodes
)
{
for
(
let
n
of
graphData
.
nodes
)
{
// Patch T2IAdapterLoader to ControlNetLoader since they are the same node now
// Patch T2IAdapterLoader to ControlNetLoader since they are the same node now
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment