diff options
author | Campbell Barton <ideasman42@gmail.com> | 2018-09-05 07:34:25 +0300 |
---|---|---|
committer | Campbell Barton <ideasman42@gmail.com> | 2018-09-05 07:34:31 +0300 |
commit | 1e35f4da7268b76b12a2a23452d0a632a8d790a7 (patch) | |
tree | b3ba68e17ade96f90986de14d1221026f564384d /source/blender/editors/physics/physics_fluid.c | |
parent | af7d0af153a35796b6eb7cde3fc417025919495d (diff) | |
parent | c13b2a2504393371e32a4fb4c01cfad8d7cc929e (diff) |
Merge branch 'master' into blender2.8
Diffstat (limited to 'source/blender/editors/physics/physics_fluid.c')
-rw-r--r-- | source/blender/editors/physics/physics_fluid.c | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/source/blender/editors/physics/physics_fluid.c b/source/blender/editors/physics/physics_fluid.c index 108b9e3437b..4279cfd5101 100644 --- a/source/blender/editors/physics/physics_fluid.c +++ b/source/blender/editors/physics/physics_fluid.c @@ -42,6 +42,7 @@ #include "DNA_object_fluidsim_types.h" #include "BLI_blenlib.h" +#include "BLI_path_util.h" #include "BLI_math.h" #include "BLI_utildefines.h" @@ -875,8 +876,8 @@ static int fluidsimBake(bContext *C, ReportList *reports, Object *fsDomain, shor fb= MEM_callocN(sizeof(FluidBakeJob), "fluid bake job"); - if (getenv(strEnvName)) { - int dlevel = atoi(getenv(strEnvName)); + if (BLI_getenv(strEnvName)) { + int dlevel = atoi(BLI_getenv(strEnvName)); elbeemSetDebugLevel(dlevel); BLI_snprintf(debugStrBuffer, sizeof(debugStrBuffer), "fluidsimBake::msg: Debug messages activated due to envvar '%s'\n", strEnvName); elbeemDebugOut(debugStrBuffer); |