forked from bartvdbraak/blender
Quit blender with non-zero exit code if tryign to use non-existing render engine via the command line
This commit is contained in:
parent
fa46f5a289
commit
4d4456015c
@ -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 {
|
||||
|
Loading…
Reference in New Issue
Block a user