Update image_nodes.py

This commit is contained in:
kijai 2024-05-02 21:15:16 +03:00
parent b47aa365f5
commit 654fb27261

View File

@ -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):