|
|
@ -794,6 +794,7 @@ class Model:
|
|
|
|
self.pack_reductions = self.geo.encodeMainDataPacked(self.reductions_data)
|
|
|
|
self.pack_reductions = self.geo.encodeMainDataPacked(self.reductions_data)
|
|
|
|
self.pack_reflection_quads = self.geo.encodeMainDataPacked(self.reflection_quads_data)
|
|
|
|
self.pack_reflection_quads = self.geo.encodeMainDataPacked(self.reflection_quads_data)
|
|
|
|
bone_data = struct.pack("<" + "i" * (1 + 15), self.bone_count, *self.bone_ids)
|
|
|
|
bone_data = struct.pack("<" + "i" * (1 + 15), self.bone_count, *self.bone_ids)
|
|
|
|
|
|
|
|
bone_data += struct.pack("<ii", 0, 0) #weights_ptr and matidx_ptr place holders, needed by the game
|
|
|
|
self.boneinfo_ptr = self.geo.encodeMainData(bone_data)
|
|
|
|
self.boneinfo_ptr = self.geo.encodeMainData(bone_data)
|
|
|
|
|
|
|
|
|
|
|
|
#Encode shared header data
|
|
|
|
#Encode shared header data
|
|
|
|