0

fixed minor inlining error in commit d547727

fixes regression in issue #320
<https://github.com/brownan/Minecraft-Overviewer/issues/320>
This commit is contained in:
Aaron Griffith
2011-04-10 03:44:06 -04:00
parent b75fb04719
commit 22fc77308e
2 changed files with 7 additions and 37 deletions

View File

@@ -453,11 +453,13 @@ class QuadtreeGen(object):
ypos = -96 + (row-rowstart)*96
# draw the chunk!
a = chunk.ChunkRenderer((chunkx, chunky), world, rendermode, poi_queue)
a.chunk_render(tileimg, xpos, ypos, None)
# chunk.render_to_image((chunkx, chunky), tileimg, (xpos, ypos), self, False, None)
try:
a = chunk.ChunkRenderer((chunkx, chunky), world, rendermode, poi_queue)
a.chunk_render(tileimg, xpos, ypos, None)
except chunk.ChunkCorrupt:
# an error was already printed
pass
# Save them
tileimg.save(imgpath)