diff options
author | Campbell Barton <ideasman42@gmail.com> | 2020-10-03 10:51:30 +0300 |
---|---|---|
committer | Campbell Barton <ideasman42@gmail.com> | 2020-10-03 11:50:35 +0300 |
commit | 9b602a8020c76c75809291683da1438688b9f8e9 (patch) | |
tree | 612ae3e4c0ffbf49f075b0f4c90806e8d7e91c91 /source/blender/blenkernel/BKE_appdir.h | |
parent | 10ae2ea4ae073c09a3b127d4a92915bbc4a61583 (diff) |
Preferences: remove temp directory initialization for WIN32
Revert 76b1a27f96ffe1ec8c5351f34bcc2b9733b4483e since there is no
reason windows should behave differently to other platforms.
This was added so Windows users wouldn't see "/tmp/" in the UI.
Since then the default temporary directory is a blank string,
leave blank on all systems as Python script authors may accidentally
use this instead of `bpy.app.tempdir`.
Diffstat (limited to 'source/blender/blenkernel/BKE_appdir.h')
-rw-r--r-- | source/blender/blenkernel/BKE_appdir.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/source/blender/blenkernel/BKE_appdir.h b/source/blender/blenkernel/BKE_appdir.h index 9223a60c8ef..09d74c16bc8 100644 --- a/source/blender/blenkernel/BKE_appdir.h +++ b/source/blender/blenkernel/BKE_appdir.h @@ -59,7 +59,7 @@ bool BKE_appdir_program_python_search(char *fullpath, const int version_minor); /* Initialize path to temporary directory. */ -void BKE_tempdir_init(char *userdir); +void BKE_tempdir_init(const char *userdir); const char *BKE_tempdir_base(void); const char *BKE_tempdir_session(void); |