mirror of
https://github.com/DarklightGames/io_scene_psk_psa.git
synced 2025-02-17 10:08:31 +01:00
Removed some unhelpful comments and TODOs.
This commit is contained in:
parent
32cadbfe31
commit
0d03e49da3
@ -127,7 +127,6 @@ class PskBuilder(object):
|
||||
|
||||
# WEDGES
|
||||
uv_layer = object.data.uv_layers.active.data
|
||||
# needs to be additive!!!
|
||||
psk.wedges.extend([wedge_type() for _ in range(len(object.data.loops))])
|
||||
|
||||
for loop_index, loop in enumerate(object.data.loops):
|
||||
|
@ -19,13 +19,11 @@ class PskExporter(object):
|
||||
fp.write(datum)
|
||||
|
||||
def export(self, path: str):
|
||||
# TODO: add logic somewhere to assert lengths of ctype structs
|
||||
with open(path, 'wb') as fp:
|
||||
self.write_section(fp, b'ACTRHEAD')
|
||||
self.write_section(fp, b'PNTS0000', Vector3, self.psk.points)
|
||||
|
||||
# WEDGES
|
||||
# TODO: this really should be on the level of the builder, not the exporter
|
||||
if len(self.psk.wedges) <= 65536:
|
||||
wedge_type = Psk.Wedge16
|
||||
else:
|
||||
|
Loading…
x
Reference in New Issue
Block a user