diff options
author | Hans Goudey <h.goudey@me.com> | 2020-09-11 01:44:05 +0300 |
---|---|---|
committer | Hans Goudey <h.goudey@me.com> | 2020-09-11 01:44:05 +0300 |
commit | 5545d833154e017f3948db9970b8d770ea8e8f9b (patch) | |
tree | a50245b6f63e590a6b5e406a74c9a5bf9bfed276 /source/blender/blenlib | |
parent | afe0213bcac36fb3c6d45929ec89fb626329e339 (diff) | |
parent | 2f22d6aa7c4a2b54d8561f28115696a55e63abc8 (diff) |
Merge branch 'property-search-single-tab' into property-search-start-end-operators
Diffstat (limited to 'source/blender/blenlib')
-rw-r--r-- | source/blender/blenlib/intern/path_util.c | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/source/blender/blenlib/intern/path_util.c b/source/blender/blenlib/intern/path_util.c index cde4394a8c3..18a6e8a3525 100644 --- a/source/blender/blenlib/intern/path_util.c +++ b/source/blender/blenlib/intern/path_util.c @@ -1299,6 +1299,11 @@ void BLI_setenv_if_new(const char *env, const char *val) /** * Get an env var, result has to be used immediately. + * +* On windows getenv gets its variables from a static copy of the environment variables taken at + * process start-up, causing it to not pick up on environment variables created during runtime. + * This function uses an alternative method to get environment variables that does pick up on + * runtime environment variables. */ const char *BLI_getenv(const char *env) { |