0

Avoid digging into the tileset when writing out config.js

This commit is contained in:
Andrew Chin
2012-01-16 21:32:12 -05:00
parent bbe105ead7
commit 0d23adb237
3 changed files with 20 additions and 19 deletions

View File

@@ -296,7 +296,7 @@ dir but you forgot to put quotes around the directory, since it contains spaces.
os.mkdir(tileset_dir)
# only pass to the TileSet the options it really cares about
tileSetOpts = util.dict_subset(render, ["name", "imgformat", "renderchecks", "rerenderprob", "bgcolor", "imgquality", "optimizeimg", "rendermode"])
tileSetOpts = util.dict_subset(render, ["name", "imgformat", "renderchecks", "rerenderprob", "bgcolor", "imgquality", "optimizeimg", "rendermode", "worldname_orig", "title"])
tset = tileset.TileSet(rset, assetMrg, tex, tileSetOpts, tileset_dir)
tilesets.append(tset)