Quit blender with non-zero exit code if tryign to use non-existing render engine via the command line

This commit is contained in:
Sergey Sharybin 2015-01-22 15:23:09 +05:00
parent fa46f5a289
commit 4d4456015c
1 changed files with 1 additions and 0 deletions

View File

@ -773,6 +773,7 @@ static int set_engine(int argc, const char **argv, void *data)
}
else {
printf("\nError: engine not found '%s'\n", argv[1]);
exit(1);
}
}
else {