Core: Always Compress quit.blend file
Similar to !132685 / 2a85a27609, compress quit.blend that is generated
after closing blender.
Pull Request: https://projects.blender.org/blender/blender/pulls/133694
This commit is contained in:
committed by
Pratik Borhade
parent
6ea8297477
commit
a1d31ca412
@@ -466,8 +466,7 @@ void WM_exit_ex(bContext *C, const bool do_python_exit, const bool do_user_exit_
|
||||
/* Save quit.blend. */
|
||||
Main *bmain = CTX_data_main(C);
|
||||
char filepath[FILE_MAX];
|
||||
int fileflags = G.fileflags & ~G_FILE_COMPRESS;
|
||||
fileflags |= G_FILE_RECOVER_WRITE;
|
||||
const int fileflags = G.fileflags | G_FILE_COMPRESS | G_FILE_RECOVER_WRITE;
|
||||
|
||||
BLI_path_join(filepath, sizeof(filepath), BKE_tempdir_base(), BLENDER_QUIT_FILE);
|
||||
|
||||
|
||||
Reference in New Issue
Block a user