From eb3a0d0fa4efb14da6f459b195548533a2c09bb4 Mon Sep 17 00:00:00 2001 From: aria1th <35677394+aria1th@users.noreply.github.com> Date: Mon, 16 Dec 2024 19:13:16 +0900 Subject: [PATCH] add to mapping --- io_node.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/io_node.py b/io_node.py index 3f4536e..d3823d8 100644 --- a/io_node.py +++ b/io_node.py @@ -474,7 +474,7 @@ class ResizeImageEnsuringMultiple: "method": (["NEAREST", "LANCZOS", "BICUBIC"],), }, } - +@fundamental_node class ResizeImageResolutionIfBigger: FUNCTION = "resize_image_resolution_if_bigger" RETURN_TYPES = ("IMAGE",) @@ -511,7 +511,7 @@ class ResizeImageResolutionIfBigger: "method": (["NEAREST", "LANCZOS", "BICUBIC"],), }, } - +@fundamental_node class ResizeImageResolutionIfSmaller: FUNCTION = "resize_image_resolution_if_smaller" RETURN_TYPES = ("IMAGE",)