0

added support for removing tiles that shouldn't exist with --check-tiles

--check-tiles is now activated by shrinking maps
better detection for --forcerender situtations
Also cleaned up some docs and comments
Moved tiledir creation to TileSet constructor
This commit is contained in:
Andrew Brown
2012-03-11 01:14:11 -05:00
parent fae28114f4
commit 91f5e2c479
3 changed files with 163 additions and 44 deletions

View File

@@ -402,8 +402,6 @@ dir but you forgot to put quotes around the directory, since it contains spaces.
# create our TileSet from this RegionSet
tileset_dir = os.path.abspath(os.path.join(destdir, render_name))
if not os.path.exists(tileset_dir):
os.mkdir(tileset_dir)
# only pass to the TileSet the options it really cares about
render['name'] = render_name # perhaps a hack. This is stored here for the asset manager