Files
2023-09-19 13:49:16 +08:00

33 lines
819 B
Python

class Export_Blendshapes():
@classmethod
def INPUT_TYPES(s):
return {
"required": {
"blendshapes": ("STRING", {
"multiline": False,
"default": "{node: ''}"
}),
},
}
RETURN_TYPES = ("blendshapes",)
RETURN_NAMES = ("blendshapes",)
FUNCTION = "process"
CATEGORY = "mesh"
def process(self, blendshapes):
return (blendshapes,)
# A dictionary that contains all nodes you want to export with their names
# NOTE: names should be globally unique
NODE_CLASS_MAPPINGS = {
"ExportBlendshapes": Export_Blendshapes
}
# A dictionary that contains the friendly/humanly readable titles for the nodes
NODE_DISPLAY_NAME_MAPPINGS = {
"ExportBlendshapes": "ExportBlendshapes"
}