Welcome to mirror list, hosted at ThFree Co, Russian Federation.

git.blender.org/blender.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
Diffstat (limited to 'source/blender/editors/physics/physics_fluid.c')
-rw-r--r--source/blender/editors/physics/physics_fluid.c3
1 files changed, 3 insertions, 0 deletions
diff --git a/source/blender/editors/physics/physics_fluid.c b/source/blender/editors/physics/physics_fluid.c
index 8fa72d554be..63979e247bf 100644
--- a/source/blender/editors/physics/physics_fluid.c
+++ b/source/blender/editors/physics/physics_fluid.c
@@ -454,6 +454,9 @@ static void fluid_free_endjob(void *customdata)
BKE_spacedata_draw_locks(false);
WM_set_locked_interface(G_MAIN->wm.first, false);
+ /* Reflect the now empty cache in the viewport too. */
+ DEG_id_tag_update(&job->ob->id, ID_RECALC_GEOMETRY);
+
/* Free was successful:
* Report for ended free job and how long it took */
if (job->success) {