forked from bartvdbraak/blender
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:
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);
|
||||||
|
Loading…
Reference in New Issue
Block a user