From 73065adf1afd1ea4f86f2bb271566f93e4e15b9a Mon Sep 17 00:00:00 2001 From: Edwin Wong Date: Tue, 26 Sep 2023 13:28:10 +0800 Subject: [PATCH] fix: shape flow naming --- blender/create_shape_flow.py | 8 ++++---- js/index.js | 2 +- 2 files changed, 5 insertions(+), 5 deletions(-) diff --git a/blender/create_shape_flow.py b/blender/create_shape_flow.py index f6a5fbd..a265be2 100644 --- a/blender/create_shape_flow.py +++ b/blender/create_shape_flow.py @@ -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" } diff --git a/js/index.js b/js/index.js index e260bc8..f4daf9a 100644 --- a/js/index.js +++ b/js/index.js @@ -553,7 +553,7 @@ const ext = { }); }); break; - case "CreateShapesFlow": + case "CreateShapeFlow": nodeData.input.required.blendshape = ["BLENDSHAPES_CONFIG"]; addMenuHandler(nodeType, function (_, options) { options.unshift({