diff options
author | Anthony LaTorre <tlatorre9@gmail.com> | 2011-08-18 11:11:25 -0400 |
---|---|---|
committer | Anthony LaTorre <tlatorre9@gmail.com> | 2011-08-18 11:11:25 -0400 |
commit | f3589198dc7ffb765a2e76a8e608da1f169eb1ba (patch) | |
tree | d001fac01c48e55a44fd39b5492712794d120b88 /camera.py | |
parent | 506bcfcf589c007fa899c4f83595dc3a788447b3 (diff) | |
download | chroma-f3589198dc7ffb765a2e76a8e608da1f169eb1ba.tar.gz chroma-f3589198dc7ffb765a2e76a8e608da1f169eb1ba.tar.bz2 chroma-f3589198dc7ffb765a2e76a8e608da1f169eb1ba.zip |
make default camera resolution widescreen. fix checkerboard scene.
Diffstat (limited to 'camera.py')
-rwxr-xr-x | camera.py | 6 |
1 files changed, 2 insertions, 4 deletions
@@ -568,7 +568,7 @@ class EventViewer(Camera): self.color_hit_pmts() return - if event.key == K_PAGEDOWN: + elif event.key == K_PAGEDOWN: entry = self.T.GetReadEntry() if entry > 0: self.T.GetEntry(entry-1) @@ -589,10 +589,8 @@ if __name__ == '__main__': parser = optparse.OptionParser('%prog filename.stl') parser.add_option('-b', '--bits', type='int', dest='bits', help='bits for z-ordering space axes', default=10) - #parser.add_option('-l', action='store_true', dest='load_bvh', - # help='load bounding volumes', default=False) parser.add_option('-r', '--resolution', dest='resolution', - help='specify resolution', default='800,600') + help='specify resolution', default='1024,576') parser.add_option('-i', dest='io_file', default=None) options, args = parser.parse_args() |