mirror of
https://github.com/justUmen/Bjornulf_custom_nodes.git
synced 2026-03-21 20:52:11 -03:00
first commit
This commit is contained in:
11
CUSTOM_STRING.py.txt
Normal file
11
CUSTOM_STRING.py.txt
Normal file
@@ -0,0 +1,11 @@
|
||||
class CustomStringType:
|
||||
@classmethod
|
||||
def INPUT_TYPES(s):
|
||||
return {"required": {"value": ("STRING", {"multiline": True})}}
|
||||
|
||||
RETURN_TYPES = ("CUSTOM_STRING",)
|
||||
FUNCTION = "passthrough"
|
||||
CATEGORY = "Bjornulf"
|
||||
|
||||
def passthrough(self, value):
|
||||
return (value,)
|
||||
Reference in New Issue
Block a user