0

renders are now ordered according to their order in the config file

This commit is contained in:
Aaron Griffith
2012-03-05 13:37:05 -05:00
parent 626129394a
commit fde63ec221
4 changed files with 273 additions and 5 deletions

View File

@@ -221,7 +221,7 @@ dir but you forgot to put quotes around the directory, since it contains spaces.
rendermodes = options.rendermodes.replace("-","_").split(",")
# Now for some good defaults
renders = {}
renders = util.OrderedDict()
for rm in rendermodes:
renders["world-" + rm] = {
"world": "world",