0

renamed uppertile to compositetile (makes more sense)

This reverts commit d4c6e40d59, and
re-applies it with a renamed uppertile.
This commit is contained in:
Aaron Griffith
2011-12-12 15:15:36 -05:00
parent 4b622b1333
commit cc95799d1a
2 changed files with 14 additions and 14 deletions

View File

@@ -270,7 +270,7 @@ class QuadtreeGen(object):
return chunklist
def get_uppertiles(self,zoom):
def get_compositetiles(self,zoom):
"""Returns the inner tiles at the given zoom level that need to be rendered
"""
@@ -282,7 +282,7 @@ class QuadtreeGen(object):
yield [self,tilepath, name]
def render_uppertile(self, dest, name):
def render_compositetile(self, dest, name):
"""
Renders a tile at os.path.join(dest, name)+".ext" by taking tiles from
os.path.join(dest, name, "{0,1,2,3}.png")
@@ -337,7 +337,7 @@ class QuadtreeGen(object):
# quit now if we don't need rerender
if not needs_rerender:
return
#logging.debug("writing out uppertile {0}".format(imgpath))
#logging.debug("writing out compositetile {0}".format(imgpath))
# Create the actual image now
img = Image.new("RGBA", (384, 384), self.bgcolor)
@@ -825,7 +825,7 @@ class Tile(object):
"""A simple container class that represents a single render-tile.
A render-tile is a tile that is rendered, not a tile composed of other
tiles (upper-tile).
tiles (composite-tile).
"""
__slots__ = ("col", "row", "path")