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
path: root/source
diff options
context:
space:
mode:
authorBastien Montagne <montagne29@wanadoo.fr>2019-01-25 21:51:38 +0300
committerBastien Montagne <montagne29@wanadoo.fr>2019-01-25 21:54:25 +0300
commit8bd55cf3d566d5fc51517a0a100fc2bcf14c1f46 (patch)
treec3b45861ff9137d87c67747e0ef3046a1c2fda66 /source
parent699b49e8e9d3f2fde5283e7c604782f83fd0c910 (diff)
Ammend to rBea5326df86cb.
As suggested by @sergey, better use RECALC flag dedicated to pointcache.
Diffstat (limited to 'source')
-rw-r--r--source/blender/editors/physics/physics_pointcache.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/source/blender/editors/physics/physics_pointcache.c b/source/blender/editors/physics/physics_pointcache.c
index e36f2f912bd..bf94b510303 100644
--- a/source/blender/editors/physics/physics_pointcache.c
+++ b/source/blender/editors/physics/physics_pointcache.c
@@ -387,7 +387,7 @@ static int ptcache_add_new_exec(bContext *C, wmOperator *UNUSED(op))
cache_new->step = pid.default_step;
*(pid.cache_ptr) = cache_new;
- DEG_id_tag_update(&ob->id, ID_RECALC_COPY_ON_WRITE);
+ DEG_id_tag_update(&ob->id, ID_RECALC_POINT_CACHE);
WM_event_add_notifier(C, NC_SCENE|ND_FRAME, scene);
WM_event_add_notifier(C, NC_OBJECT|ND_POINTCACHE, ob);
}