0

Respect the markall parameter

This commit is contained in:
Patrick-Emmanuel Boulanger-Nadeau
2014-01-20 15:55:51 -05:00
parent 4579998663
commit 8458451044

View File

@@ -757,8 +757,8 @@ class TileSet(object):
# Compare the last modified time of the chunk and tile. If the
# tile is older, mark it in a RendertileSet object as dirty.
for chunkx, chunkz, chunkmtime in self.regionset.iterate_newer_chunks(last_rendertime):
for chunkx, chunkz, chunkmtime in self.regionset.iterate_chunks() if markall else self.regionset.iterate_newer_chunks(last_rendertime):
chunkcount += 1
if chunkmtime > max_chunk_mtime: