mirror of
https://git.datalinker.icu/kijai/ComfyUI-KJNodes.git
synced 2026-01-29 18:47:15 +08:00
Update image_nodes.py
This commit is contained in:
parent
b47aa365f5
commit
654fb27261
@ -697,10 +697,10 @@ class ImagePadForOutpaintMasked:
|
||||
t[:, top + i, left + j] = v * v
|
||||
|
||||
if mask is None:
|
||||
mask = new_mask
|
||||
mask[:, top:top + H, left:left + W] = t
|
||||
|
||||
return (new_image, mask,)
|
||||
new_mask[:, top:top + H, left:left + W] = t
|
||||
return (new_image, new_mask,)
|
||||
else:
|
||||
return (new_image, mask,)
|
||||
|
||||
class ImageAndMaskPreview(SaveImage):
|
||||
def __init__(self):
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user