mirror of
https://github.com/blender/blender
synced 2026-09-29 04:37:17 +03:00
Warn when --engine arg isn't found
This commit is contained in:
parent
ae99764385
commit
3c00efcf69
1 changed files with 3 additions and 0 deletions
|
|
@ -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");
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue