From bb42e13c526b7d5dacceab80b62375b676e9a1e1 Mon Sep 17 00:00:00 2001 From: Saquib Alam Date: Tue, 8 Aug 2023 20:30:26 +0530 Subject: [PATCH] debug --- nodes.py | 2 -- 1 file changed, 2 deletions(-) diff --git a/nodes.py b/nodes.py index 655dd2785..962f41e16 100644 --- a/nodes.py +++ b/nodes.py @@ -1449,8 +1449,6 @@ class ImageAlphaComposite: RETURN_TYPES = ("IMAGE", "MASK") FUNCTION = "alpha_composite" def alpha_composite(self, image1, mask1, image2, mask2): - if not mask2: - mask2 = torch.zeros((64,64), dtype=torch.float32, device="cpu") image = image1 * mask1 + image2 * (1.0 - mask1) return (image, mask1)