Write the number of subskins in a skin group.

This commit is contained in:
Bill Currie 2012-04-21 11:30:43 +09:00
parent 3b07928373
commit 1242247ac2

View file

@ -74,6 +74,7 @@ class MDL:
if not sub:
mdl.write_int(self.type)
if self.type:
mdl.write_int(len(self.skins))
mdl.write_float(self.times)
for subskin in self.skins:
subskin.write(mdl, 1)