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>2017-10-19 16:19:58 +0300
committerCampbell Barton <ideasman42@gmail.com>2017-10-19 16:19:58 +0300
commit465b6333ccb5b56ced54ca342c60086c60ab21db (patch)
treead255a2b2de77aff1a085ff565366f682f0818d7 /source/creator
parent9ee8319cd589bd7605f45293b17a682c4daf5ec0 (diff)
Correct last commit, use WM_exit
Without this temp directory isn't removed.
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);
}
}