diff options
author | Sergey Sharybin <sergey.vfx@gmail.com> | 2015-01-22 13:23:09 +0300 |
---|---|---|
committer | Sergey Sharybin <sergey.vfx@gmail.com> | 2015-01-22 13:23:09 +0300 |
commit | 4d4456015ca34d07ba513514dfe141bee18d4b8c (patch) | |
tree | 93dcb5fb7abb7fccdc152e4f52a4834d252dfb6f /source/creator | |
parent | fa46f5a2897d7cd3731271b3cf7e2d619643d73a (diff) |
Quit blender with non-zero exit code if tryign to use non-existing render engine via the command line
Diffstat (limited to 'source/creator')
-rw-r--r-- | source/creator/creator.c | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/source/creator/creator.c b/source/creator/creator.c index 83741a64ace..67932bcfb30 100644 --- a/source/creator/creator.c +++ b/source/creator/creator.c @@ -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 { |