Fixes for GPU rendering and more readable tooltip with render time

This commit is contained in:
2017-08-18 16:46:32 +02:00
parent 70ae2ff9dd
commit 69246133ec
2 changed files with 41 additions and 3 deletions

View File

@@ -38,7 +38,7 @@ def configureArgumentParser():
# default=[])
parser.add_argument('-t', '--device-type',
help="Type of the device to render on",
default="CPU")
default="")
parser.add_argument('-n', '--device-name',
help="Device name to render on",
default="")
@@ -128,7 +128,7 @@ def checkConfiguration(config):
if not os.path.exists(section["scenes_dir"]):
logger.INFO(" Scenes directory does not exist.")
return False
if not section["output_dir"]:
if "output_dir" not in section:
logger.INFO(" Missing configuration for output directory.")
return False
return True