mirror of
https://git.datalinker.icu/kijai/ComfyUI-KJNodes.git
synced 2026-07-09 16:37:22 +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
|
t[:, top + i, left + j] = v * v
|
||||||
|
|
||||||
if mask is None:
|
if mask is None:
|
||||||
mask = new_mask
|
new_mask[:, top:top + H, left:left + W] = t
|
||||||
mask[:, top:top + H, left:left + W] = t
|
return (new_image, new_mask,)
|
||||||
|
else:
|
||||||
return (new_image, mask,)
|
return (new_image, mask,)
|
||||||
|
|
||||||
class ImageAndMaskPreview(SaveImage):
|
class ImageAndMaskPreview(SaveImage):
|
||||||
def __init__(self):
|
def __init__(self):
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user