From fc8ec63df28a4ee66d98a26c1b6cc4244b06d539 Mon Sep 17 00:00:00 2001 From: Pablerdo Date: Tue, 25 Feb 2025 18:31:34 -0500 Subject: [PATCH] args fix --- nodes/curve_nodes.py | 2 +- nodes/mask_nodes.py | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/nodes/curve_nodes.py b/nodes/curve_nodes.py index dea970d..59f1b72 100644 --- a/nodes/curve_nodes.py +++ b/nodes/curve_nodes.py @@ -38,7 +38,7 @@ class MultiCutAndDragOnPath: "frame_width": ("INT", {"default": 512,"min": 16, "max": 4096, "step": 1}), "frame_height": ("INT", {"default": 512,"min": 16, "max": 4096, "step": 1}), "inpaint": ("BOOLEAN", {"default": True}), - "mode": (["translate", "translate_and_rotate"], {"default": "translate"}), + "rotation": ("BOOLEAN", {"default": False}), }, "optional": { "bg_image": ("IMAGE",), diff --git a/nodes/mask_nodes.py b/nodes/mask_nodes.py index 3cecf1c..8173c40 100644 --- a/nodes/mask_nodes.py +++ b/nodes/mask_nodes.py @@ -31,7 +31,7 @@ class BatchImageToMask: FUNCTION = "batch_convert_to_mask" DESCRIPTION = "Converts RGB images to binary masks using grayscale conversion and thresholding, with optional morphological dilation" - def batch_convert_to_mask(self, images, threshold, dilation_amount, save_to_file=False, output_path="masks_output.png"): + def batch_convert_to_mask(self, images, threshold, dilation_amount): # Handle case where images is a tuple (common in ComfyUI node system) if isinstance(images, tuple): images = images[0]