|
|
@ -846,6 +846,10 @@ class Model:
|
|
|
|
self.header_data += struct.pack("<fff", *self.autolod_dists)
|
|
|
|
self.header_data += struct.pack("<fff", *self.autolod_dists)
|
|
|
|
self.header_data += struct.pack("<h", self.id)
|
|
|
|
self.header_data += struct.pack("<h", self.id)
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
if self.geo.version >= 8:
|
|
|
|
|
|
|
|
#Pad to match the alignment of "ModelFormatOnDisk_v8" produced by "GetVrml/output.c"
|
|
|
|
|
|
|
|
self.header_data += struct.pack("<h", 0)
|
|
|
|
|
|
|
|
|
|
|
|
self.header_data = struct.pack("<i", len(self.header_data) + 4) + self.header_data
|
|
|
|
self.header_data = struct.pack("<i", len(self.header_data) + 4) + self.header_data
|
|
|
|
pass
|
|
|
|
pass
|
|
|
|
def encodeHeader(self):
|
|
|
|
def encodeHeader(self):
|
|
|
|