diff --git a/nodes/utility/FL_InpaintCrop.py b/nodes/utility/FL_InpaintCrop.py index 3186a7b..bbe27dd 100644 --- a/nodes/utility/FL_InpaintCrop.py +++ b/nodes/utility/FL_InpaintCrop.py @@ -446,6 +446,11 @@ class FL_Inpaint_Stitch: original_image = stitch['original_image'] x = stitch['x'] # These are in ORIGINAL image coordinates - do NOT rescale! y = stitch['y'] + + # Expand original to match inpainted batch size + # e.g., 1 original + 4 inpainted variations → 4 copies of original + original_image = comfy.utils.repeat_to_batch_size(original_image, inpainted_image.shape[0]) + stitched_image = original_image.clone().movedim(-1, 1) inpaint_width = inpainted_image.shape[2] diff --git a/pyproject.toml b/pyproject.toml index 15175e8..abb145d 100644 --- a/pyproject.toml +++ b/pyproject.toml @@ -1,7 +1,7 @@ [project] name = "comfyui_fill-nodes" description = "Fill-Nodes is a versatile collection of custom nodes for ComfyUI that extends functionality across multiple domains. Features include advanced image processing (pixelation, slicing, masking), visual effects generation (glitch, halftone, pixel art), comprehensive file handling (PDF creation/extraction, Google Drive integration), AI model interfaces (GPT, DALL-E, Hugging Face), utility nodes for workflow enhancement, and specialized tools for video processing, captioning, and batch operations. The pack provides both practical workflow solutions and creative tools within a unified node collection." -version = "2.3.1" +version = "2.3.2" license = "LICENSE" dependencies = ["librosa", "sounddevice", "glitch_this", "PyOpenGL", "glfw", "scipy>=1.13.1", "requests", "aiohttp", "moviepy", "matplotlib", "reportlab", "openai", "PyPDF2", "pdf2image", "PyMuPDF", "reportlab", "PyPDF2", "ollama", "kornia", "opencv-python", "gdown", "open_clip_torch", "google-genai"]