From 60383f3b64aa4477edfea325879bb04d3695161c Mon Sep 17 00:00:00 2001 From: comfyanonymous Date: Tue, 16 Jul 2024 17:08:25 -0400 Subject: [PATCH] Move controlnet nodes to conditioning/controlnet. --- comfy_extras/nodes_controlnet.py | 2 +- comfy_extras/nodes_sd3.py | 2 +- nodes.py | 4 ++-- 3 files changed, 4 insertions(+), 4 deletions(-) diff --git a/comfy_extras/nodes_controlnet.py b/comfy_extras/nodes_controlnet.py index e550436b..ef7cfc6a 100644 --- a/comfy_extras/nodes_controlnet.py +++ b/comfy_extras/nodes_controlnet.py @@ -17,7 +17,7 @@ class SetUnionControlNetType: "type": (list(UNION_CONTROLNET_TYPES.keys()),) }} - CATEGORY = "conditioning" + CATEGORY = "conditioning/controlnet" RETURN_TYPES = ("CONTROL_NET",) FUNCTION = "set_controlnet_type" diff --git a/comfy_extras/nodes_sd3.py b/comfy_extras/nodes_sd3.py index 548b1ad6..0aafa242 100644 --- a/comfy_extras/nodes_sd3.py +++ b/comfy_extras/nodes_sd3.py @@ -92,7 +92,7 @@ class ControlNetApplySD3(nodes.ControlNetApplyAdvanced): "start_percent": ("FLOAT", {"default": 0.0, "min": 0.0, "max": 1.0, "step": 0.001}), "end_percent": ("FLOAT", {"default": 1.0, "min": 0.0, "max": 1.0, "step": 0.001}) }} - CATEGORY = "_for_testing/sd3" + CATEGORY = "conditioning/controlnet" NODE_CLASS_MAPPINGS = { "TripleCLIPLoader": TripleCLIPLoader, diff --git a/nodes.py b/nodes.py index 89a2f21d..fbdcb6c9 100644 --- a/nodes.py +++ b/nodes.py @@ -748,7 +748,7 @@ class ControlNetApply: RETURN_TYPES = ("CONDITIONING",) FUNCTION = "apply_controlnet" - CATEGORY = "conditioning" + CATEGORY = "conditioning/controlnet" def apply_controlnet(self, conditioning, control_net, image, strength): if strength == 0: @@ -783,7 +783,7 @@ class ControlNetApplyAdvanced: RETURN_NAMES = ("positive", "negative") FUNCTION = "apply_controlnet" - CATEGORY = "conditioning" + CATEGORY = "conditioning/controlnet" def apply_controlnet(self, positive, negative, control_net, image, strength, start_percent, end_percent, vae=None): if strength == 0: