From fc6728d190192e0dc2f6b46557718409fff90f93 Mon Sep 17 00:00:00 2001 From: BlueRose <378100977@qq.com> Date: Sun, 6 Aug 2023 09:30:24 +0800 Subject: [PATCH] vault backup: 2023-08-06 09:30:24 --- 06-DCC/Blender/导出PSK_PSA脚本.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/06-DCC/Blender/导出PSK_PSA脚本.md b/06-DCC/Blender/导出PSK_PSA脚本.md index d01e50d..8a4ab75 100644 --- a/06-DCC/Blender/导出PSK_PSA脚本.md +++ b/06-DCC/Blender/导出PSK_PSA脚本.md @@ -27,7 +27,7 @@ for root, subdirs, files in os.walk(pskPath): currentmesh = obj.data for setting in currentmesh.polygons: setting.use_smooth = True - bpy.context.object.data.update() + # 输出骨骼模型 bpy.ops.object.select_all(action='SELECT') bpy.ops.export_scene.fbx(filepath=fbx_file,add_leaf_bones=False)