0

Better cache checking, now uses chunk timestamps

and possibly fixed a bug in check_cache?
This commit is contained in:
Andrew Chin
2011-02-28 22:10:36 -05:00
parent caa1ef1f45
commit 5f2f098d40
2 changed files with 12 additions and 7 deletions

View File

@@ -344,7 +344,7 @@ class WorldRenderer(object):
if chunk.check_cache(self, chunkXY, oldimg):
result = oldimg[1]
else:
#logging.debug("check cache failed, need to render")
#logging.debug("check cache failed, need to render (could be ghost chunk)")
result = chunk.render_and_save(chunkXY, self.cachedir, self, oldimg, queue=q)
if result: