0

Prevent opening and parsing files which haven't been modified since the last time that the render was done

This commit is contained in:
Patrick-Emmanuel Boulanger-Nadeau
2014-01-20 15:34:36 -05:00
parent 0bd2ad0c8b
commit 4579998663
2 changed files with 40 additions and 4 deletions

View File

@@ -757,7 +757,7 @@ 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_chunks():
for chunkx, chunkz, chunkmtime in self.regionset.iterate_newer_chunks(last_rendertime):
chunkcount += 1