Updated sampler default values, added boolean logic and reverse

This commit is contained in:
ControlAltAI
2024-08-19 14:59:20 +05:30
parent a058cc50a8
commit f0a7f37aa6
4 changed files with 55 additions and 3 deletions
+23
View File
@@ -0,0 +1,23 @@
class BooleanBasic:
@classmethod
def INPUT_TYPES(cls):
return {
"required": {
"boolean": ("BOOLEAN", {"default": False}),
},
}
RETURN_TYPES = ("BOOLEAN",)
FUNCTION = "process_boolean"
CATEGORY = "ControlAltAI Nodes/Logic"
def process_boolean(self, boolean):
return (boolean,)
NODE_CLASS_MAPPINGS = {
"BooleanBasic": BooleanBasic,
}
NODE_DISPLAY_NAME_MAPPINGS = {
"BooleanBasic": "Boolean Basic",
}