'forcerender' option to render dict now works. Updated docs.
This commit is contained in:
@@ -299,6 +299,8 @@ dir but you forgot to put quotes around the directory, since it contains spaces.
|
||||
logging.error("You must specify at least one render in your config file. See the docs if you're having trouble")
|
||||
return 1
|
||||
|
||||
#####################
|
||||
# Do a few last minute things to each render dictionary here
|
||||
for rname, render in config['renders'].iteritems():
|
||||
# Convert render['world'] to the world path, and store the original
|
||||
# in render['worldname_orig']
|
||||
@@ -311,6 +313,10 @@ dir but you forgot to put quotes around the directory, since it contains spaces.
|
||||
render['worldname_orig'] = render['world']
|
||||
render['world'] = worldpath
|
||||
|
||||
# If 'forcerender' is set, change renderchecks to 2
|
||||
if render.get('forcerender', False):
|
||||
render['renderchecks'] = 2
|
||||
|
||||
destdir = config['outputdir']
|
||||
if not destdir:
|
||||
logging.error("You must specify the output directory in your config file.")
|
||||
|
||||
Reference in New Issue
Block a user