not to destroy single image

This commit is contained in:
Yousef Rafat 2026-05-25 16:06:29 +03:00
parent 1d0b024bf2
commit 123562c466

View File

@ -460,7 +460,9 @@ class ImageProcessingNode(io.ComfyNode):
def execute(cls, images, **kwargs):
"""Execute the node. Routes to _process or _group_process based on mode."""
is_group = cls._detect_processing_mode()
images = cls._ensure_image_list(images)
if is_group:
images = cls._ensure_image_list(images)
# Extract scalar values from lists for parameters
params = {}