The most powerful and modular diffusion model GUI, api and backend with a graph/nodes interface. The fastest local inference engine in the world.
Fix MaskComposite
Jairo Correab5fa3d28d7a9
diff --git a/comfy_extras/nodes_mask.py b/comfy_extras/nodes_mask.pyindex 3cc4cfd76..d8c65c2b6 100644--- a/comfy_extras/nodes_mask.py+++ b/comfy_extras/nodes_mask.py@@ -240,8 +240,8 @@ class MaskComposite:right, bottom = (min(left + source.shape[-1], destination.shape[-1]), min(top + source.shape[-2], destination.shape[-2]))visible_width, visible_height = (right - left, bottom - top,)- source_portion = source[:visible_height, :visible_width]- destination_portion = destination[top:bottom, left:right]+ source_portion = source[:, :visible_height, :visible_width]+ destination_portion = destination[:, top:bottom, left:right]if operation == "multiply":output[:, top:bottom, left:right] = destination_portion * source_portion