Skip to content

Commit 1743009

Browse files
authored
Merge pull request #8 from AdelQue/main
2.1.1 Fixed oversight on export
2 parents a1b9b2c + 6dfc669 commit 1743009

2 files changed

Lines changed: 2 additions & 2 deletions

File tree

Blender/FrontiersAnimationTools/__init__.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -14,7 +14,7 @@
1414
bl_info = {
1515
"name": "Sonic Frontiers Animation Tools",
1616
"author": "AdelQ, WistfulHopes, Turk645",
17-
"version": (2, 1, 0),
17+
"version": (2, 1, 1),
1818
"blender": (4, 1, 0),
1919
"location": "File > Import/Export",
2020
"description": "Animation and skeleton importer/exporter for Hedgehog Engine 2 games with compressed animations",

Blender/FrontiersAnimationTools/animation/anim_export.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -100,7 +100,7 @@ def anim_export(self_pass, filepath, arm_active, action_active, start_frame, end
100100
return False
101101

102102
root_buffer_compressed = compress(buffer_root.getvalue())
103-
if not len(root_buffer_compressed.getvalue()) and self.bool_root_motion is True:
103+
if not len(root_buffer_compressed.getvalue()) and self_pass.bool_root_motion is True:
104104
self_pass.report({'WARNING'}, f"{action_active.name} root buffer failed to compress.")
105105
return False
106106

0 commit comments

Comments
 (0)