diff options
| author | comex <comexk@gmail.com> | 2009-02-25 13:57:12 -0500 |
|---|---|---|
| committer | comex <comexk@gmail.com> | 2009-02-25 13:57:12 -0500 |
| commit | c89ac2b26d0dfb43ba326b0035da75434917ea28 (patch) | |
| tree | 05a77e59820d2ab2f280176b39e1e458245bc5da | |
| parent | bd4663cc078961794325774fce7b2683225dbfe1 (diff) | |
bounding "support"
| -rw-r--r-- | write-brlyt.py | 4 |
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() |
