mirror of
https://github.com/comfyanonymous/ComfyUI.git
synced 2025-01-11 10:25:16 +00:00
robust patch on pasteFromClipspace
This commit is contained in:
parent
ee62b4ecc2
commit
70e02b443f
@ -125,10 +125,14 @@ export class ComfyApp {
|
|||||||
if(ComfyApp.clipspace.imgs && node.imgs) {
|
if(ComfyApp.clipspace.imgs && node.imgs) {
|
||||||
if(node.images && ComfyApp.clipspace.images) {
|
if(node.images && ComfyApp.clipspace.images) {
|
||||||
if(ComfyApp.clipspace['img_paste_mode'] == 'selected') {
|
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
|
else {
|
||||||
app.nodeOutputs[node.id + ""].images = node.images = ComfyApp.clipspace.images;
|
node.images = ComfyApp.clipspace.images;
|
||||||
|
}
|
||||||
|
|
||||||
|
if(app.nodeOutputs[node.id + ""])
|
||||||
|
app.nodeOutputs[node.id + ""].images = node.images;
|
||||||
}
|
}
|
||||||
|
|
||||||
if(ComfyApp.clipspace.imgs) {
|
if(ComfyApp.clipspace.imgs) {
|
||||||
|
Loading…
Reference in New Issue
Block a user