aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorcomex <comexk@gmail.com>2009-02-25 13:57:12 -0500
committercomex <comexk@gmail.com>2009-02-25 13:57:12 -0500
commitc89ac2b26d0dfb43ba326b0035da75434917ea28 (patch)
tree05a77e59820d2ab2f280176b39e1e458245bc5da
parentbd4663cc078961794325774fce7b2683225dbfe1 (diff)
bounding "support"
-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()