diff options
author | Campbell Barton <ideasman42@gmail.com> | 2017-03-23 07:05:42 +0300 |
---|---|---|
committer | Campbell Barton <ideasman42@gmail.com> | 2017-03-23 07:05:42 +0300 |
commit | a63ba2739e2a3956a2049be74dc67aa59f26c7fc (patch) | |
tree | cf1f11412416989861330a9f04375ccf1b1ba4e8 /source/blender | |
parent | 12b62b58e102ed9dea683d1598d3f1b1811a2a95 (diff) |
Cleanup: remove redundant temp dir init
This is already called by wm_init_userdef, in old code
different initialization methods were used but now it's not needed.
Confusing since prefs are loaded in this function that don't initialize temp.
Diffstat (limited to 'source/blender')
-rw-r--r-- | source/blender/windowmanager/intern/wm_files.c | 2 |
1 files changed, 0 insertions, 2 deletions
diff --git a/source/blender/windowmanager/intern/wm_files.c b/source/blender/windowmanager/intern/wm_files.c index 241bd90bdf3..cff27dfc9e8 100644 --- a/source/blender/windowmanager/intern/wm_files.c +++ b/source/blender/windowmanager/intern/wm_files.c @@ -727,8 +727,6 @@ int wm_homefile_read( if (BLI_listbase_is_empty(&wmbase)) { wm_clear_default_size(C); } - BKE_tempdir_init(U.tempdir); - #ifdef WITH_PYTHON_SECURITY /* use alternative setting for security nuts * otherwise we'd need to patch the binary blob - startup.blend.c */ |