vault backup: 2023-08-06 09:30:24

This commit is contained in:
BlueRose 2023-08-06 09:30:24 +08:00
parent 55078f900d
commit fc6728d190

View File

@ -27,7 +27,7 @@ for root, subdirs, files in os.walk(pskPath):
currentmesh = obj.data currentmesh = obj.data
for setting in currentmesh.polygons: for setting in currentmesh.polygons:
setting.use_smooth = True setting.use_smooth = True
bpy.context.object.data.update()
# 输出骨骼模型 # 输出骨骼模型
bpy.ops.object.select_all(action='SELECT') bpy.ops.object.select_all(action='SELECT')
bpy.ops.export_scene.fbx(filepath=fbx_file,add_leaf_bones=False) bpy.ops.export_scene.fbx(filepath=fbx_file,add_leaf_bones=False)