From c6e06252f34dbf2b313ed4af00975dd9205b6f15 Mon Sep 17 00:00:00 2001 From: Maxed-Out-99 Date: Tue, 15 Jul 2025 19:30:05 -0700 Subject: [PATCH] Add DummyNegativePrompt node to node mappings Registered the DummyNegativePrompt class in NODE_CLASS_MAPPINGS and NODE_DISPLAY_NAME_MAPPINGS, enabling its use as a node in the system. --- maxedoutnodes.py | 3 +++ 1 file changed, 3 insertions(+) diff --git a/maxedoutnodes.py b/maxedoutnodes.py index a883560..9f2bbc5 100644 --- a/maxedoutnodes.py +++ b/maxedoutnodes.py @@ -351,6 +351,7 @@ class DummyNegativePrompt(ComfyNodeABC): conditioning = clip.encode_from_tokens_scheduled(tokens) return (conditioning,) +######################################################################################################################## # NODE MAPPING NODE_CLASS_MAPPINGS = { @@ -359,6 +360,7 @@ NODE_CLASS_MAPPINGS = { "Image Scale To Total Pixels (SDXL Safe)": ImageScaleToTotalPixelsSafe, "Flux Image Scale To Total Pixels (Flux Safe)": FluxImageScaleToTotalPixelsSafe, "Prompt With Guidance (Flux)": PromptWithGuidance, + "Dummy Negative Prompt": DummyNegativePrompt, } NODE_DISPLAY_NAME_MAPPINGS = { @@ -367,4 +369,5 @@ NODE_DISPLAY_NAME_MAPPINGS = { "Image Scale To Total Pixels (SDXL Safe)": "Scale Image (SDXL Safe) MXD", "Flux Image Scale To Total Pixels (Flux Safe)": "Scale Image (Flux Safe) MXD", "Prompt With Guidance (Flux)": "Prompt with Flux Guidance MXD", + "Dummy Negative Prompt": "Dummy Prompt MXD", }