diff --git a/core/import_pmx.py b/core/import_pmx.py index 7d85e5e..764979f 100644 --- a/core/import_pmx.py +++ b/core/import_pmx.py @@ -125,63 +125,113 @@ def read_material(file: BufferedReader, string_build, byte_size): return material_name, material_english_name, diffuse_color, specular_color, specular_strength, ambient_color, flag, edge_color, edge_size, texture_index, sphere_texture_index, sphere_mode, toon_sharing_flag, toon_texture_index, comment, surface_count def read_bone(file: BufferedReader, string_build, byte_size): - bone_name = str(file.read(struct.unpack('