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
Notes: blender-bot 2023-02-14 10:04:46 +01:00
Referenced by issue #41865, Fluid bake not possible in windows using a python script from the command line results in empty cache
1 changed files with 2 additions and 2 deletions

View File

@ -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);