0

changed this_rendertime to be the max of all chunk mtimes

This commit is contained in:
Andrew Brown
2012-02-25 21:26:02 -05:00
parent 16ed65e019
commit c3c559fcd3

View File

@@ -263,7 +263,6 @@ class TileSet(object):
self.config = config
self.last_rendertime = config.get('last_rendertime', 0)
self.this_rendertime = time.time()
if "renderchecks" not in self.options:
if not config:
@@ -449,7 +448,7 @@ class TileSet(object):
bgcolor = bgcolorformat(self.options.get('bgcolor')),
world = self.options.get('worldname_orig') +
(" - " + self.options.get('dimension') if self.options.get('dimension') != 'default' else ''),
last_rendertime = self.this_rendertime,
last_rendertime = self.max_chunk_mtime,
imgextension = self.imgextension,
)
try: