diff options
author | Campbell Barton <ideasman42@gmail.com> | 2020-10-03 10:23:13 +0300 |
---|---|---|
committer | Campbell Barton <ideasman42@gmail.com> | 2020-10-03 11:49:15 +0300 |
commit | 10ae2ea4ae073c09a3b127d4a92915bbc4a61583 (patch) | |
tree | 217f3aeb03d00bc92b2e2d1ad651610d0cbd1ea4 /source/blender/windowmanager | |
parent | 29a85682a0395f599f0500216061d4302493e800 (diff) |
Cleanup: remove unused temp directory initialization
This last worked in v2.27 (2003) where all paths were initialized to "/"
which was still checked to initialize the temp directory.
This hasn't been the case since 932e9e831647604e0b129b55e5ab035
where it changed to "/tmp/", then an empty string (current default).
Diffstat (limited to 'source/blender/windowmanager')
-rw-r--r-- | source/blender/windowmanager/intern/wm_files.c | 3 |
1 files changed, 0 insertions, 3 deletions
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); |