Welcome to mirror list, hosted at ThFree Co, Russian Federation.

git.blender.org/blender.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorRay Molenkamp <github@lazydodo.com>2018-09-05 07:31:10 +0300
committerCampbell Barton <ideasman42@gmail.com>2018-09-05 07:32:19 +0300
commitc13b2a2504393371e32a4fb4c01cfad8d7cc929e (patch)
treea07973eeff324519187c23cd6b52f61da10d83a3 /source/blender/modifiers
parentbb6a94fa7b28390ea8c22a6026562b0ab6685f92 (diff)
Fix T54152: --env-system-scripts fails on win32
Diffstat (limited to 'source/blender/modifiers')
-rw-r--r--source/blender/modifiers/intern/MOD_fluidsim_util.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/source/blender/modifiers/intern/MOD_fluidsim_util.c b/source/blender/modifiers/intern/MOD_fluidsim_util.c
index e366116a5fb..8dd4e289503 100644
--- a/source/blender/modifiers/intern/MOD_fluidsim_util.c
+++ b/source/blender/modifiers/intern/MOD_fluidsim_util.c
@@ -481,8 +481,8 @@ static DerivedMesh *fluidsim_read_cache(
const char *strEnvName2 = "BLENDER_ELBEEMBOBJABORT"; // from blendercall.cpp
if (G.background == 1) {
- if (getenv(strEnvName2)) {
- int elevel = atoi(getenv(strEnvName2));
+ if (BLI_getenv(strEnvName2)) {
+ int elevel = atoi(BLI_getenv(strEnvName2));
if (elevel > 0) {
printf("Env. var %s set, fluid sim mesh '%s' not found, aborting render...\n",
strEnvName2, targetFile);