From 8cc5326beb0bccfbb2d19f350a7a22ff5c6bf470 Mon Sep 17 00:00:00 2001 From: Akio Nishimura Date: Wed, 2 Apr 2025 08:46:10 +0900 Subject: [PATCH] Modify builtin nodes --- nodes.py | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/nodes.py b/nodes.py index 22b025eb4..e4abff25e 100644 --- a/nodes.py +++ b/nodes.py @@ -2166,6 +2166,12 @@ def modify_function_params(cls): return cls +for node_name, node_cls in NODE_CLASS_MAPPINGS.items(): + node_cls = extend_input_types(node_cls) + node_cls = modify_function_params(node_cls) + NODE_CLASS_MAPPINGS[node_name] = node_cls + + def load_custom_node(module_path: str, ignore=set(), module_parent="custom_nodes") -> bool: module_name = os.path.basename(module_path) if os.path.isfile(module_path):