From d804a5eaf40caab0438e7c5cf1d092e7e8c8cf2a Mon Sep 17 00:00:00 2001 From: Sergey Sharybin Date: Fri, 19 Sep 2014 17:34:05 +0600 Subject: Fix T41865: Fluid bake not possible in windows using a python script from the command line Stupid missing variables initialization. --- source/blender/editors/physics/physics_fluid.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'source/blender/editors/physics') 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); -- cgit v1.2.3