Move controlnet nodes to conditioning/controlnet.

This commit is contained in:
comfyanonymous 2024-07-16 17:08:25 -04:00
parent 8270c62530
commit 60383f3b64
3 changed files with 4 additions and 4 deletions

View File

@ -17,7 +17,7 @@ class SetUnionControlNetType:
"type": (list(UNION_CONTROLNET_TYPES.keys()),) "type": (list(UNION_CONTROLNET_TYPES.keys()),)
}} }}
CATEGORY = "conditioning" CATEGORY = "conditioning/controlnet"
RETURN_TYPES = ("CONTROL_NET",) RETURN_TYPES = ("CONTROL_NET",)
FUNCTION = "set_controlnet_type" FUNCTION = "set_controlnet_type"

View File

@ -92,7 +92,7 @@ class ControlNetApplySD3(nodes.ControlNetApplyAdvanced):
"start_percent": ("FLOAT", {"default": 0.0, "min": 0.0, "max": 1.0, "step": 0.001}), "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}) "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 = { NODE_CLASS_MAPPINGS = {
"TripleCLIPLoader": TripleCLIPLoader, "TripleCLIPLoader": TripleCLIPLoader,

View File

@ -748,7 +748,7 @@ class ControlNetApply:
RETURN_TYPES = ("CONDITIONING",) RETURN_TYPES = ("CONDITIONING",)
FUNCTION = "apply_controlnet" FUNCTION = "apply_controlnet"
CATEGORY = "conditioning" CATEGORY = "conditioning/controlnet"
def apply_controlnet(self, conditioning, control_net, image, strength): def apply_controlnet(self, conditioning, control_net, image, strength):
if strength == 0: if strength == 0:
@ -783,7 +783,7 @@ class ControlNetApplyAdvanced:
RETURN_NAMES = ("positive", "negative") RETURN_NAMES = ("positive", "negative")
FUNCTION = "apply_controlnet" FUNCTION = "apply_controlnet"
CATEGORY = "conditioning" CATEGORY = "conditioning/controlnet"
def apply_controlnet(self, positive, negative, control_net, image, strength, start_percent, end_percent, vae=None): def apply_controlnet(self, positive, negative, control_net, image, strength, start_percent, end_percent, vae=None):
if strength == 0: if strength == 0: