From 2ded55383784fb2bc65c6d92aef8f4ebff7b97ac Mon Sep 17 00:00:00 2001 From: EdwinWong Date: Fri, 19 Jan 2024 18:06:14 +0800 Subject: [PATCH] fix: add output type in main output --- blender/avatar_main_output.py | 1 + 1 file changed, 1 insertion(+) diff --git a/blender/avatar_main_output.py b/blender/avatar_main_output.py index b62af49..00ecf15 100644 --- a/blender/avatar_main_output.py +++ b/blender/avatar_main_output.py @@ -79,6 +79,7 @@ class AvatarMainOutput(blender_node.ObjectOps): "files": [{ "filename": filepath.replace(f"{self.output_dir}/", ""), "content_type": "model/gltf+json", + "type": "output" },], "SHAPE_FLOW": {SHAPE_FLOW}, "auto_save": {'true' if auto_save else 'false'},