diff --git a/core/pmx/import_pmx.py b/core/pmx/import_pmx.py index 3e65ece..6a5bddc 100644 --- a/core/pmx/import_pmx.py +++ b/core/pmx/import_pmx.py @@ -3,172 +3,174 @@ import struct def read_pmx_header(file): # Read PMX header information - magic = file.read(4) + magic = file.read(4) # Read magic bytes (should be "PMX ") if magic != b'PMX ': raise ValueError("Invalid PMX file") - version = struct.unpack('