0

Dump assets and "initial" data before rendering starts

Now does preprocessing off of main() instead of in the dispatcher
initializer.
This commit is contained in:
Andrew Brown
2012-02-25 19:33:35 -05:00
parent d1f13cadc5
commit f48f0445d1
4 changed files with 39 additions and 8 deletions

View File

@@ -49,14 +49,9 @@ class Dispatcher(object):
"""
# TODO use status callback
# preprocessing
for tileset in tilesetlist:
tileset.do_preprocessing()
# setup tilesetlist
self.setup_tilesets(tilesetlist)
# iterate through all possible phases
num_phases = [tileset.get_num_phases() for tileset in tilesetlist]
for phase in xrange(max(num_phases)):