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:
Diffstat (limited to 'source/creator')
-rw-r--r--source/creator/creator_args.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/source/creator/creator_args.c b/source/creator/creator_args.c
index 322b93f4f42..19f30584f89 100644
--- a/source/creator/creator_args.c
+++ b/source/creator/creator_args.c
@@ -1775,7 +1775,8 @@ static int arg_handle_load_file(int UNUSED(argc), const char **argv, void *data)
}
else {
printf("Error: argument has no '.blend' file extension, not using as new file, exiting! %s\n", filename);
- exit(1);
+ G.is_break = true;
+ WM_exit(C);
}
}