diff options
author | Nathan Letwory <nathan@letworyinteractive.com> | 2013-06-16 00:12:16 +0400 |
---|---|---|
committer | Nathan Letwory <nathan@letworyinteractive.com> | 2013-06-16 00:12:16 +0400 |
commit | 11f104a4a31901febb6043cf1121599dd0d84155 (patch) | |
tree | 7526f1bad2556f7c07ea8ba125384642aec37dfc /source | |
parent | 06268dfa4d2a51e37f2fe7597ac14592f141fd8f (diff) |
Fix [#35728] "Load Factory Settings" changes temp fonder to "/temp/\"
This was actually being reset to "/tmp\".
Initialisation for the temp dir was missing after the userpref reload.
Diffstat (limited to 'source')
-rw-r--r-- | source/blender/windowmanager/intern/wm_files.c | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/source/blender/windowmanager/intern/wm_files.c b/source/blender/windowmanager/intern/wm_files.c index 406dbd8ca96..b6aecf120cc 100644 --- a/source/blender/windowmanager/intern/wm_files.c +++ b/source/blender/windowmanager/intern/wm_files.c @@ -540,6 +540,7 @@ int wm_homefile_read(bContext *C, ReportList *UNUSED(reports), short from_memory if (success == 0) { success = BKE_read_file_from_memory(C, datatoc_startup_blend, datatoc_startup_blend_size, NULL); if (wmbase.first == NULL) wm_clear_default_size(C); + BLI_init_temporary_dir(U.tempdir); #ifdef WITH_PYTHON_SECURITY /* use alternative setting for security nuts |