From d3d830ceb3f30bbf79676b2cc6dccb1589073401 Mon Sep 17 00:00:00 2001 From: Uriel Deveaud Date: Wed, 30 Oct 2024 05:42:20 -0600 Subject: [PATCH 1/3] Update nodes_images.py Nodes menu has inconsistency in names, some with spaces between words, other not. --- comfy_extras/nodes_images.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/comfy_extras/nodes_images.py b/comfy_extras/nodes_images.py index af37666b29f..f2f2b0e9dcf 100644 --- a/comfy_extras/nodes_images.py +++ b/comfy_extras/nodes_images.py @@ -187,7 +187,7 @@ def save_images(self, images, fps, compress_level, filename_prefix="ComfyUI", pr return { "ui": { "images": results, "animated": (True,)} } NODE_CLASS_MAPPINGS = { - "ImageCrop": ImageCrop, + "Image Crop": ImageCrop, "RepeatImageBatch": RepeatImageBatch, "ImageFromBatch": ImageFromBatch, "SaveAnimatedWEBP": SaveAnimatedWEBP, From 0a9acc8bf7da1b0db431674ff28165ad2966bce2 Mon Sep 17 00:00:00 2001 From: Uriel Deveaud Date: Wed, 30 Oct 2024 15:00:25 -0600 Subject: [PATCH 2/3] Update nodes.py Include the node mapping name line for Image Crop Node --- nodes.py | 1 + 1 file changed, 1 insertion(+) diff --git a/nodes.py b/nodes.py index c81a0af1e71..08a8109484c 100644 --- a/nodes.py +++ b/nodes.py @@ -1957,6 +1957,7 @@ def expand_image(self, image, left, top, right, bottom, feathering): "ImageInvert": "Invert Image", "ImagePadForOutpaint": "Pad Image for Outpainting", "ImageBatch": "Batch Images", + "ImageCrop": "Image Crop", # _for_testing "VAEDecodeTiled": "VAE Decode (Tiled)", "VAEEncodeTiled": "VAE Encode (Tiled)", From 0d548089a3ddb2d539bf28e6785232c82eac5fe7 Mon Sep 17 00:00:00 2001 From: Uriel Deveaud Date: Wed, 30 Oct 2024 15:03:07 -0600 Subject: [PATCH 3/3] Update nodes_images.py --- comfy_extras/nodes_images.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/comfy_extras/nodes_images.py b/comfy_extras/nodes_images.py index f2f2b0e9dcf..af37666b29f 100644 --- a/comfy_extras/nodes_images.py +++ b/comfy_extras/nodes_images.py @@ -187,7 +187,7 @@ def save_images(self, images, fps, compress_level, filename_prefix="ComfyUI", pr return { "ui": { "images": results, "animated": (True,)} } NODE_CLASS_MAPPINGS = { - "Image Crop": ImageCrop, + "ImageCrop": ImageCrop, "RepeatImageBatch": RepeatImageBatch, "ImageFromBatch": ImageFromBatch, "SaveAnimatedWEBP": SaveAnimatedWEBP,