Respect the markall parameter
This commit is contained in:
@@ -757,8 +757,8 @@ class TileSet(object):
|
|||||||
# Compare the last modified time of the chunk and tile. If the
|
# Compare the last modified time of the chunk and tile. If the
|
||||||
# tile is older, mark it in a RendertileSet object as dirty.
|
# 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
|
chunkcount += 1
|
||||||
|
|
||||||
if chunkmtime > max_chunk_mtime:
|
if chunkmtime > max_chunk_mtime:
|
||||||
|
|||||||
Reference in New Issue
Block a user