Welcome to mirror list, hosted at ThFree Co, Russian Federation.

git.blender.org/blender.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorSergey Sharybin <sergey.vfx@gmail.com>2015-01-22 13:23:09 +0300
committerSergey Sharybin <sergey.vfx@gmail.com>2015-01-22 13:23:09 +0300
commit4d4456015ca34d07ba513514dfe141bee18d4b8c (patch)
tree93dcb5fb7abb7fccdc152e4f52a4834d252dfb6f /source/creator
parentfa46f5a2897d7cd3731271b3cf7e2d619643d73a (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.c1
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 {