Fixes for GPU rendering and more readable tooltip with render time
This commit is contained in:
@@ -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
|
||||
|
Reference in New Issue
Block a user