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:
authorCampbell Barton <ideasman42@gmail.com>2014-09-08 19:44:01 +0400
committerCampbell Barton <ideasman42@gmail.com>2014-09-08 19:44:41 +0400
commit3c00efcf699d274484d47215e4a4dd925bcd0a26 (patch)
treed26060bf3984c3f3b07af8f2beb93ffffe3882ad /source/creator
parentae99764385863dcf7e4d8bb17750330f4b68f3b1 (diff)
Warn when --engine arg isn't found
Diffstat (limited to 'source/creator')
-rw-r--r--source/creator/creator.c3
1 files changed, 3 insertions, 0 deletions
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");