diff options
-rw-r--r-- | source/blender/blenkernel/BKE_appdir.h | 1 | ||||
-rw-r--r-- | source/blender/blenkernel/intern/appdir.c | 8 | ||||
-rw-r--r-- | source/blender/windowmanager/intern/wm_files.c | 3 |
3 files changed, 0 insertions, 12 deletions
diff --git a/source/blender/blenkernel/BKE_appdir.h b/source/blender/blenkernel/BKE_appdir.h index b8a4497c7be..9223a60c8ef 100644 --- a/source/blender/blenkernel/BKE_appdir.h +++ b/source/blender/blenkernel/BKE_appdir.h @@ -60,7 +60,6 @@ bool BKE_appdir_program_python_search(char *fullpath, /* Initialize path to temporary directory. */ void BKE_tempdir_init(char *userdir); -void BKE_tempdir_system_init(char *dir); const char *BKE_tempdir_base(void); const char *BKE_tempdir_session(void); diff --git a/source/blender/blenkernel/intern/appdir.c b/source/blender/blenkernel/intern/appdir.c index 236f1391443..2f7b2cc480c 100644 --- a/source/blender/blenkernel/intern/appdir.c +++ b/source/blender/blenkernel/intern/appdir.c @@ -999,14 +999,6 @@ const char *BKE_tempdir_base(void) } /** - * Path to the system temporary directory (with trailing slash) - */ -void BKE_tempdir_system_init(char *dir) -{ - where_is_temp(dir, NULL, FILE_MAX, NULL); -} - -/** * Delete content of this instance's temp dir. */ void BKE_tempdir_session_purge(void) diff --git a/source/blender/windowmanager/intern/wm_files.c b/source/blender/windowmanager/intern/wm_files.c index 44367969ed7..69b7c7bb1e3 100644 --- a/source/blender/windowmanager/intern/wm_files.c +++ b/source/blender/windowmanager/intern/wm_files.c @@ -415,9 +415,6 @@ static void wm_init_userdef(Main *bmain) MEM_CacheLimiter_set_maximum(((size_t)U.memcachelimit) * 1024 * 1024); BKE_sound_init(bmain); - if (STREQ(U.tempdir, "/")) { - BKE_tempdir_system_init(U.tempdir); - } /* Update `U.tempdir` from user preferences. */ BKE_tempdir_init(U.tempdir); |