From 1242247ac23c9f444d4f93285e60c01699dc7f6f Mon Sep 17 00:00:00 2001 From: Bill Currie Date: Sat, 21 Apr 2012 11:30:43 +0900 Subject: [PATCH] Write the number of subskins in a skin group. --- tools/io_mesh_qfmdl/mdl.py | 1 + 1 file changed, 1 insertion(+) diff --git a/tools/io_mesh_qfmdl/mdl.py b/tools/io_mesh_qfmdl/mdl.py index e0750b25d..65e616a12 100644 --- a/tools/io_mesh_qfmdl/mdl.py +++ b/tools/io_mesh_qfmdl/mdl.py @@ -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)