0

fixed a bug in TileSet. Traversal now works according to tests.

This commit is contained in:
Andrew Brown
2012-01-08 03:12:06 -05:00
parent 3995a06c97
commit 9e61407c67
2 changed files with 4 additions and 7 deletions

View File

@@ -923,8 +923,9 @@ class TileSet(object):
raise
tile_mtime = 0
if tile_mtime > max_child_mtime:
# Needs rendering
if tile_mtime < max_child_mtime:
# If any child was updated more recently than ourself, then
# we need rendering
yield path, None, True
else:
# Nope.