fix: shape flow naming

This commit is contained in:
Edwin Wong
2023-09-26 13:28:10 +08:00
parent 93d1d8f0a6
commit 73065adf1a
2 changed files with 5 additions and 5 deletions
+4 -4
View File
@@ -4,15 +4,15 @@ class CreateShapeFlow():
def INPUT_TYPES(s):
return {
"required": {
"shape_flow": ("STRING", {
"blendshapes": ("STRING", {
"multiline": False,
"default": "{node: ''}"
}),
},
}
RETURN_TYPES = ("shape_flow",)
RETURN_NAMES = ("shape_flow",)
RETURN_TYPES = ("blendshapes",)
RETURN_NAMES = ("blendshapes",)
FUNCTION = "process"
CATEGORY = "mesh"
@@ -28,5 +28,5 @@ NODE_CLASS_MAPPINGS = {
# A dictionary that contains the friendly/humanly readable titles for the nodes
NODE_DISPLAY_NAME_MAPPINGS = {
"CreateShapeFlow": "CreateShapeFlow"
"CreateShapeFlow": "Create Shape Flow"
}
+1 -1
View File
@@ -553,7 +553,7 @@ const ext = {
});
});
break;
case "CreateShapesFlow":
case "CreateShapeFlow":
nodeData.input.required.blendshape = ["BLENDSHAPES_CONFIG"];
addMenuHandler(nodeType, function (_, options) {
options.unshift({