Fix T41865: Fluid bake not possible in windows using a python script from the command line

Stupid missing variables initialization.
This commit is contained in:
Sergey Sharybin 2014-09-19 17:34:05 +06:00
parent 75b61f5346
commit d804a5eaf4

@ -1063,8 +1063,8 @@ static int fluidsimBake(bContext *C, ReportList *reports, Object *fsDomain, shor
WM_jobs_start(CTX_wm_manager(C), wm_job); WM_jobs_start(CTX_wm_manager(C), wm_job);
} }
else { else {
short dummy_stop, dummy_do_update; short dummy_stop = 0, dummy_do_update = 0;
float dummy_progress; float dummy_progress = 0.0f;
/* blocking, use with exec() */ /* blocking, use with exec() */
fluidbake_startjob((void *)fb, &dummy_stop, &dummy_do_update, &dummy_progress); fluidbake_startjob((void *)fb, &dummy_stop, &dummy_do_update, &dummy_progress);