Better cache checking, now uses chunk timestamps
and possibly fixed a bug in check_cache?
This commit is contained in:
2
world.py
2
world.py
@@ -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:
|
||||
|
||||
Reference in New Issue
Block a user