mirror of
https://github.com/comfyanonymous/ComfyUI.git
synced 2026-02-09 21:12:36 +08:00
debug
This commit is contained in:
parent
bb42e13c52
commit
16a862c722
3
nodes.py
3
nodes.py
@ -1449,7 +1449,8 @@ class ImageAlphaComposite:
|
||||
RETURN_TYPES = ("IMAGE", "MASK")
|
||||
FUNCTION = "alpha_composite"
|
||||
def alpha_composite(self, image1, mask1, image2, mask2):
|
||||
image = image1 * mask1 + image2 * (1.0 - mask1)
|
||||
print(image.get_shape(), mask1.get_shape())
|
||||
image = image1 * mask1
|
||||
return (image, mask1)
|
||||
|
||||
class ImageScaleBy:
|
||||
|
||||
Loading…
Reference in New Issue
Block a user