aboutsummaryrefslogtreecommitdiff
path: root/write-brlyt.py
diff options
context:
space:
mode:
Diffstat (limited to 'write-brlyt.py')
-rw-r--r--write-brlyt.py4
1 files changed, 2 insertions, 2 deletions
diff --git a/write-brlyt.py b/write-brlyt.py
index 4eccf22..6796908 100644
--- a/write-brlyt.py
+++ b/write-brlyt.py
@@ -121,7 +121,7 @@ for c in chunks:
chunk += unparse_data(vars, 'pic', prefix='~pic')
for tc in vars['~pic.texcoords']:
chunk += struct.pack('>ffffffff', *tc)
- elif typ != 'pan1':
+ elif typ not in ('pan1', 'bnd1'):
failz
else:
raise Exception('Unhandled type %s' % typ)
@@ -135,4 +135,4 @@ rlyt = rlyt[:8] + struct.pack('>I', len(rlyt)) + rlyt[0xc:]
g = open(sys.argv[2], 'wb')
g.write(rlyt)
-g.close() \ No newline at end of file
+g.close()