diff options
Diffstat (limited to 'source/blender/editors/physics')
-rw-r--r-- | source/blender/editors/physics/physics_fluid.c | 8 |
1 files changed, 8 insertions, 0 deletions
diff --git a/source/blender/editors/physics/physics_fluid.c b/source/blender/editors/physics/physics_fluid.c index 63979e247bf..af77d966c9d 100644 --- a/source/blender/editors/physics/physics_fluid.c +++ b/source/blender/editors/physics/physics_fluid.c @@ -537,6 +537,8 @@ static int fluid_bake_exec(struct bContext *C, struct wmOperator *op) if (!fluid_validatepaths(job, op->reports)) { return OPERATOR_CANCELLED; } + WM_report_banners_cancel(job->bmain); + fluid_bake_startjob(job, NULL, NULL, NULL); fluid_bake_endjob(job); fluid_bake_free(job); @@ -564,6 +566,9 @@ static int fluid_bake_invoke(struct bContext *C, return OPERATOR_CANCELLED; } + /* Clear existing banners so that the upcoming progress bar from this job has more room. */ + WM_report_banners_cancel(job->bmain); + wmJob *wm_job = WM_jobs_get(CTX_wm_manager(C), CTX_wm_window(C), scene, @@ -638,6 +643,9 @@ static int fluid_free_exec(struct bContext *C, struct wmOperator *op) return OPERATOR_CANCELLED; } + /* Clear existing banners so that the upcoming progress bar from this job has more room. */ + WM_report_banners_cancel(job->bmain); + wmJob *wm_job = WM_jobs_get(CTX_wm_manager(C), CTX_wm_window(C), scene, |