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
70e02b44
Commit
70e02b44
authored
Jun 07, 2023
by
Dr.Lt.Data
Browse files
robust patch on pasteFromClipspace
parent
ee62b4ec
Changes
1
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
7 additions
and
3 deletions
+7
-3
web/scripts/app.js
web/scripts/app.js
+7
-3
No files found.
web/scripts/app.js
View file @
70e02b44
...
...
@@ -125,10 +125,14 @@ export class ComfyApp {
if
(
ComfyApp
.
clipspace
.
imgs
&&
node
.
imgs
)
{
if
(
node
.
images
&&
ComfyApp
.
clipspace
.
images
)
{
if
(
ComfyApp
.
clipspace
[
'
img_paste_mode
'
]
==
'
selected
'
)
{
app
.
nodeOutputs
[
node
.
id
+
""
].
images
=
node
.
images
=
[
ComfyApp
.
clipspace
.
images
[
ComfyApp
.
clipspace
[
'
selectedIndex
'
]]];
node
.
images
=
[
ComfyApp
.
clipspace
.
images
[
ComfyApp
.
clipspace
[
'
selectedIndex
'
]]];
}
else
app
.
nodeOutputs
[
node
.
id
+
""
].
images
=
node
.
images
=
ComfyApp
.
clipspace
.
images
;
else
{
node
.
images
=
ComfyApp
.
clipspace
.
images
;
}
if
(
app
.
nodeOutputs
[
node
.
id
+
""
])
app
.
nodeOutputs
[
node
.
id
+
""
].
images
=
node
.
images
;
}
if
(
ComfyApp
.
clipspace
.
imgs
)
{
...
...
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