changed this_rendertime to be the max of all chunk mtimes
This commit is contained in:
@@ -263,7 +263,6 @@ class TileSet(object):
|
|||||||
self.config = config
|
self.config = config
|
||||||
|
|
||||||
self.last_rendertime = config.get('last_rendertime', 0)
|
self.last_rendertime = config.get('last_rendertime', 0)
|
||||||
self.this_rendertime = time.time()
|
|
||||||
|
|
||||||
if "renderchecks" not in self.options:
|
if "renderchecks" not in self.options:
|
||||||
if not config:
|
if not config:
|
||||||
@@ -449,7 +448,7 @@ class TileSet(object):
|
|||||||
bgcolor = bgcolorformat(self.options.get('bgcolor')),
|
bgcolor = bgcolorformat(self.options.get('bgcolor')),
|
||||||
world = self.options.get('worldname_orig') +
|
world = self.options.get('worldname_orig') +
|
||||||
(" - " + self.options.get('dimension') if self.options.get('dimension') != 'default' else ''),
|
(" - " + 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,
|
imgextension = self.imgextension,
|
||||||
)
|
)
|
||||||
try:
|
try:
|
||||||
|
|||||||
Reference in New Issue
Block a user