0

Fixed --chunklist

This bug was introduced by the signpost code which required a queue
object to be passed to the chunk rendered.  This wasn't done with
--chunklist
This commit is contained in:
Andrew Chin
2010-11-08 20:36:02 -05:00
parent 605811bf0c
commit 914a3073f0

View File

@@ -269,7 +269,7 @@ class WorldRenderer(object):
if inclusion_set and (col, row) not in inclusion_set: if inclusion_set and (col, row) not in inclusion_set:
# Skip rendering, just find where the existing image is # Skip rendering, just find where the existing image is
_, imgpath = chunk.ChunkRenderer(chunkfile, _, imgpath = chunk.ChunkRenderer(chunkfile,
self.cachedir, self).find_oldimage(False) self.cachedir, self, q).find_oldimage(False)
if imgpath: if imgpath:
results[(col, row)] = imgpath results[(col, row)] = imgpath
continue continue
@@ -295,7 +295,7 @@ class WorldRenderer(object):
if inclusion_set and (col, row) not in inclusion_set: if inclusion_set and (col, row) not in inclusion_set:
# Skip rendering, just find where the existing image is # Skip rendering, just find where the existing image is
_, imgpath = chunk.ChunkRenderer(chunkfile, _, imgpath = chunk.ChunkRenderer(chunkfile,
self.cachedir, self).find_oldimage(False) self.cachedir, self, q).find_oldimage(False)
if imgpath: if imgpath:
results[(col, row)] = imgpath results[(col, row)] = imgpath
continue continue