diff options
author | Sergey Sharybin <sergey.vfx@gmail.com> | 2014-09-19 15:34:05 +0400 |
---|---|---|
committer | Sergey Sharybin <sergey.vfx@gmail.com> | 2014-09-19 15:34:50 +0400 |
commit | d804a5eaf40caab0438e7c5cf1d092e7e8c8cf2a (patch) | |
tree | 2aecd7bec30a9e915a00f2d698fd59d816885845 /source/blender/editors/physics/physics_fluid.c | |
parent | 75b61f5346fbf05d64a90b17f70b096b1a690f3e (diff) |
Fix T41865: Fluid bake not possible in windows using a python script from the command line
Stupid missing variables initialization.
Diffstat (limited to 'source/blender/editors/physics/physics_fluid.c')
-rw-r--r-- | source/blender/editors/physics/physics_fluid.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/source/blender/editors/physics/physics_fluid.c b/source/blender/editors/physics/physics_fluid.c index 3972ed1c49e..b53891f4880 100644 --- a/source/blender/editors/physics/physics_fluid.c +++ b/source/blender/editors/physics/physics_fluid.c @@ -1063,8 +1063,8 @@ static int fluidsimBake(bContext *C, ReportList *reports, Object *fsDomain, shor WM_jobs_start(CTX_wm_manager(C), wm_job); } else { - short dummy_stop, dummy_do_update; - float dummy_progress; + short dummy_stop = 0, dummy_do_update = 0; + float dummy_progress = 0.0f; /* blocking, use with exec() */ fluidbake_startjob((void *)fb, &dummy_stop, &dummy_do_update, &dummy_progress); |