summaryrefslogtreecommitdiff
path: root/view.py
diff options
context:
space:
mode:
authorAnthony LaTorre <tlatorre9@gmail.com>2011-08-03 14:33:39 -0400
committerAnthony LaTorre <tlatorre9@gmail.com>2011-08-03 14:33:39 -0400
commit4e1047698bad5a600dd6a2aaa825667fc3617b07 (patch)
tree0fe658ce1f3fd2ef272997d800757056cfd18291 /view.py
parent4bf95f452e3275c12026b16b51dc646846598f19 (diff)
parent91bf7a2e2371a321b3bd402810cfe3b2774e2777 (diff)
downloadchroma-4e1047698bad5a600dd6a2aaa825667fc3617b07.tar.gz
chroma-4e1047698bad5a600dd6a2aaa825667fc3617b07.tar.bz2
chroma-4e1047698bad5a600dd6a2aaa825667fc3617b07.zip
merge heads
Diffstat (limited to 'view.py')
-rwxr-xr-xview.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/view.py b/view.py
index 96f7530..5752767 100755
--- a/view.py
+++ b/view.py
@@ -350,7 +350,7 @@ if __name__ == '__main__':
head, tail = os.path.split(args[0])
root, ext = os.path.splitext(tail)
- if ext.lower() == '.stl':
+ if ext.lower() in ('.stl', '.bz2'):
view(mesh_from_stl(args[0]), size, root, options.bits, options.load_bvh)
else:
members = dict(inspect.getmembers(detectors) + inspect.getmembers(solids) + inspect.getmembers(scenes))