Changeset 3547


Ignore:
Timestamp:
Sep 7, 2006, 4:32:11 PM (18 years ago)
Author:
jack
Message:

Fixed the visualiser crash-on-exit bug under Windows.

Location:
anuga_core/source/anuga/visualiser
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • anuga_core/source/anuga/visualiser/run_offline.py

    r3538 r3547  
    11from offline import OfflineVisualiser
    22
    3 o = OfflineVisualiser("../../../../swollen_viewer/tests/cylinders.sww")
     3o = OfflineVisualiser("../../../swollen_viewer/tests/cylinders.sww")
    44#o = OfflineVisualiser("../../../../swollen_viewer/tests/karratha_100m.sww")
    55o.render_quantity_height("elevation", dynamic=False)
     
    77#o.colour_height_quantity('stage', (0.0, 0.0, 0.8))
    88o.colour_height_quantity('stage', (lambda q:q['stage'], 0, 10))
    9 #o.precache_height_quantities()
     9o.precache_height_quantities()
    1010o.run()
  • anuga_core/source/anuga/visualiser/visualiser.py

    r3540 r3547  
    162162    def shutdown(self):
    163163        self.tk_root.withdraw()
    164         self.tk_root.quit()
     164        self.tk_root.destroy()
Note: See TracChangeset for help on using the changeset viewer.