From 566f270daee21f35d72be059d08a7fcb789bc485 Mon Sep 17 00:00:00 2001 From: amorgun Date: Sun, 30 Jun 2024 12:25:40 +0300 Subject: [PATCH] Fix bone display --- importer.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/importer.py b/importer.py index e0a81a4..661475a 100644 --- a/importer.py +++ b/importer.py @@ -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