From 4d4456015ca34d07ba513514dfe141bee18d4b8c Mon Sep 17 00:00:00 2001 From: Sergey Sharybin Date: Thu, 22 Jan 2015 15:23:09 +0500 Subject: [PATCH] Quit blender with non-zero exit code if tryign to use non-existing render engine via the command line --- source/creator/creator.c | 1 + 1 file changed, 1 insertion(+) 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 {