forked from bartvdbraak/blender
Correct last commit, use WM_exit
Without this temp directory isn't removed.
This commit is contained in:
parent
9ee8319cd5
commit
465b6333cc
@ -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);
|
||||
}
|
||||
}
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user