0

Write/read last_rendertime

This commit is contained in:
Andrew Chin
2012-01-15 00:22:45 -05:00
parent 514e99dcd2
commit 48da4a6a3c
2 changed files with 22 additions and 3 deletions

View File

@@ -250,8 +250,8 @@ class TileSet(object):
self.am = assetmanagerobj
self.textures = texturesobj
# XXX TODO:
self.last_rendertime = 0 # TODO
self.last_rendertime = self.am.get_tileset_config(self.options.get("name")).get('last_rendertime', 0)
self.this_rendertime = time.time()
# Throughout the class, self.outputdir is an absolute path to the
# directory where we output tiles. It is assumed to exist.