Text archives Help
- From: Li-Ta Lo <
>
- To:
- Subject: [Manta] Calling SyncDisplay::doneRendering() twice?
- Date: Thu, 24 Jul 2008 15:59:27 -0600
- Organization: Los Alamos National Lab
Hi,
Why do we have to call doneRendering twice when we want to shutdown
the engine as in wxManta.py?
def ShutdownEngine(self):
# print "Exiting the engine"
# sync_thread and sync_display only exist for when we use a
# SyncDisplay class. Since this doesn't happen all the time
# we use the try block to allow continued progress
try:
self.sync_thread.abort()
except: pass
self.engine.finish()
try:
self.sync_display.doneRendering()
self.sync_display.doneRendering()
except: pass
self.engine.blockUntilFinished()
# print "Engine exited"
Ollie
- [Manta] Calling SyncDisplay::doneRendering() twice?, Li-Ta Lo, 07/24/2008
Archive powered by MHonArc 2.6.16.