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.
This commit is contained in:
Campbell Barton 2017-03-23 15:05:42 +11:00
parent 12b62b58e1
commit a63ba2739e

@ -727,8 +727,6 @@ int wm_homefile_read(
if (BLI_listbase_is_empty(&wmbase)) { if (BLI_listbase_is_empty(&wmbase)) {
wm_clear_default_size(C); wm_clear_default_size(C);
} }
BKE_tempdir_init(U.tempdir);
#ifdef WITH_PYTHON_SECURITY #ifdef WITH_PYTHON_SECURITY
/* use alternative setting for security nuts /* use alternative setting for security nuts
* otherwise we'd need to patch the binary blob - startup.blend.c */ * otherwise we'd need to patch the binary blob - startup.blend.c */