Skip to content

Commit

Permalink
Fix bone display
Browse files Browse the repository at this point in the history
  • Loading branch information
amorgun committed Jun 30, 2024
1 parent 1e71203 commit 566f270
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion importer.py
Original file line number Diff line number Diff line change
Expand Up @@ -259,7 +259,7 @@ def CH_DATASKEL(self, reader: ChunkReader, xref: bool): # Chunk Handler - Skele

for bone in created_bones_array:
if len(bone.children) == 1:
bone.length = (bone.children[0].head - bone.tail).length
bone.length = (bone.children[0].head - bone.head).length
bpy.ops.object.mode_set(mode='EDIT', toggle=True)

def CH_FOLDMSGR(self, reader: ChunkReader): # Chunk Handler - Mesh Data
Expand Down

0 comments on commit 566f270

Please sign in to comment.