diff options
author | Bastien Montagne <montagne29@wanadoo.fr> | 2019-01-25 21:51:38 +0300 |
---|---|---|
committer | Bastien Montagne <montagne29@wanadoo.fr> | 2019-01-25 21:54:25 +0300 |
commit | 8bd55cf3d566d5fc51517a0a100fc2bcf14c1f46 (patch) | |
tree | c3b45861ff9137d87c67747e0ef3046a1c2fda66 /source/blender/editors | |
parent | 699b49e8e9d3f2fde5283e7c604782f83fd0c910 (diff) |
Ammend to rBea5326df86cb.
As suggested by @sergey, better use RECALC flag dedicated to pointcache.
Diffstat (limited to 'source/blender/editors')
-rw-r--r-- | source/blender/editors/physics/physics_pointcache.c | 2 |
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); } |