From 3c00efcf699d274484d47215e4a4dd925bcd0a26 Mon Sep 17 00:00:00 2001 From: Campbell Barton Date: Tue, 9 Sep 2014 01:44:01 +1000 Subject: Warn when --engine arg isn't found --- source/creator/creator.c | 3 +++ 1 file changed, 3 insertions(+) diff --git a/source/creator/creator.c b/source/creator/creator.c index 412ff374233..3937ae18143 100644 --- a/source/creator/creator.c +++ b/source/creator/creator.c @@ -817,6 +817,9 @@ static int set_engine(int argc, const char **argv, void *data) if (BLI_findstring(&R_engines, argv[1], offsetof(RenderEngineType, idname))) { BLI_strncpy_utf8(rd->engine, argv[1], sizeof(rd->engine)); } + else { + printf("\nError: engine not found '%s'\n", argv[1]); + } } else { printf("\nError: no blend loaded. order the arguments so '-E / --engine ' is after a blend is loaded.\n"); -- cgit v1.2.3