Renamed VisualAreaPrompt node to VisualAreaPromptAdvanced

This commit is contained in:
Palazzini Luca
2024-09-19 19:38:21 +02:00
parent bbc7629df5
commit 07aa8bc802
3 changed files with 6 additions and 6 deletions
+3 -3
View File
@@ -7,14 +7,14 @@
@description: Nodes used for more comfortable area prompting design.
"""
from .visual_area_prompt import VisualAreaPrompt
from .nodes.visual_area_prompt import VisualAreaPromptAdvanced
NODE_CLASS_MAPPINGS = {
"VisualAreaPrompt": VisualAreaPrompt
"VisualAreaPromptAdvanced": VisualAreaPromptAdvanced
}
NODE_DISPLAY_NAME_MAPPINGS = {
"VisualAreaPrompt": "Visual Area Prompt"
"VisualAreaPromptAdvanced": "Visual Area Prompt \"Advanced\""
}
WEB_DIRECTORY = "./web"
@@ -1,6 +1,6 @@
from comfy_execution.graph_utils import GraphBuilder, Node
class VisualAreaPrompt:
class VisualAreaPromptAdvanced:
def __init__(self) -> None:
pass
@@ -10,7 +10,7 @@ class VisualAreaPrompt:
"required": {
"all_area_conditioning": ("CONDITIONING", { "tooltip": "Base conditioning. Will be concatenated to all other conditionings, including global." }),
"global_conditioning": ("CONDITIONING", { "tooltip": "Will be applied to the whole image once." }),
"merge_global": ("BOOLEAN", { "default": False, "tooltip": "Turning this on will make it so that the global conditioning will be concatenated to all other conditionings before being applied. (will not affect combined_conditioning output)." }),
"merge_global": ("BOOLEAN", { "default": False, "tooltip": "Turning this on will make it so that the global conditioning will be concatenated to all other conditionings before being applied. (will not affect combined_conditioning output)." })
},
"hidden": {
"extra_pnginfo": "EXTRA_PNGINFO",
@@ -3,7 +3,7 @@ import { app } from "../../scripts/app.js";
import { addAreaGraphWidget } from "./widgets/graph_widget.js"
// Id of the node
const _ID = "VisualAreaPrompt";
const _ID = "VisualAreaPromptAdvanced";
// Prefix of the input to add
const _PREFIX = "area_conditioning_";
// Type of the input to add