bugfix: Wasn't parsing AltPivotInfo correctly.

master
TigerKat 5 years ago
parent cbefa340bf
commit 369c9ae4a7

@ -606,7 +606,7 @@ class Model:
self.altpivotinfo = [] self.altpivotinfo = []
if self.api_ptr != 0: if self.api_ptr != 0:
self.geo.seekMainData(self.api_ptr) self.geo.seekMainData(self.api_ptr)
(self.altpivotinfo_count, ) = self.geo.decode("<i") (self.altpivotinfo_count, ) = self.geo.getMainElement("<i")
for i in range(self.altpivotinfo_count): for i in range(self.altpivotinfo_count):
self.altpivotinfo.append([]) self.altpivotinfo.append([])
for j in range(4): for j in range(4):

Loading…
Cancel
Save