From 1847db31c9895a52262a5a09a7251e16462a5789 Mon Sep 17 00:00:00 2001 From: alan Date: Fri, 29 Mar 2024 00:08:37 -0400 Subject: [PATCH] Fix some pipeline bugs --- animations/infantry/anims-alan.blend | 4 ++-- pipeline/export_anims.py | 6 +++--- 2 files changed, 5 insertions(+), 5 deletions(-) diff --git a/animations/infantry/anims-alan.blend b/animations/infantry/anims-alan.blend index da2b1d1..7ebdf54 100644 --- a/animations/infantry/anims-alan.blend +++ b/animations/infantry/anims-alan.blend @@ -1,3 +1,3 @@ version https://git-lfs.github.com/spec/v1 -oid sha256:14e6eecf938b48fb84fd0d724f01a8efaac30082403b26bb385bfe4e2e94edcc -size 3297452 +oid sha256:4c56b2c106fcc3a1a6722d5b0f77611520d8aeba3798b939d2b0e453a29be15c +size 3434400 diff --git a/pipeline/export_anims.py b/pipeline/export_anims.py index 215b7cf..48eba69 100644 --- a/pipeline/export_anims.py +++ b/pipeline/export_anims.py @@ -36,10 +36,10 @@ for i in range(29,32): # bpy.ops.object.make_local(type='SELECT_OBDATA') # Clear all posing and pose constraints -# bpy.ops.object.mode_set(mode='POSE') # Enter pose mode -# bpy.ops.pose.select_all(action='SELECT') +bpy.ops.object.mode_set(mode='POSE') # Enter pose mode +bpy.ops.pose.select_all(action='SELECT') # bpy.ops.pose.constraints_clear() # Clear all constraints -# bpy.ops.pose.transforms_clear() # Clear all transforms +bpy.ops.pose.transforms_clear() # Clear all transforms # Export animations bpy.ops.export_scene.fbx(