diff options
author | Miika Hamalainen <blender@miikah.org> | 2013-08-02 20:39:50 +0400 |
---|---|---|
committer | Miika Hamalainen <blender@miikah.org> | 2013-08-02 20:39:50 +0400 |
commit | 9f1670cde6379b81627ce172c738aa95e62d699b (patch) | |
tree | 14bf814a8586a30349766fad0c44aba2a0b5811f /source/blender/makesrna/intern/rna_object_force.c | |
parent | ab777e957cb8e8bde925af9dc6f960e4f045fa7a (diff) |
Fix [#35541]: Point cache doesn't load existing frames from disk if cache file name is changed.
Diffstat (limited to 'source/blender/makesrna/intern/rna_object_force.c')
-rw-r--r-- | source/blender/makesrna/intern/rna_object_force.c | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/source/blender/makesrna/intern/rna_object_force.c b/source/blender/makesrna/intern/rna_object_force.c index 06d8f4faf04..1d2aa08e7cd 100644 --- a/source/blender/makesrna/intern/rna_object_force.c +++ b/source/blender/makesrna/intern/rna_object_force.c @@ -184,6 +184,7 @@ static void rna_Cache_idname_change(Main *UNUSED(bmain), Scene *UNUSED(scene), P BKE_ptcache_load_external(pid); DAG_id_tag_update(&ob->id, OB_RECALC_DATA); + WM_main_add_notifier(NC_OBJECT | ND_POINTCACHE, ob); } else { for (pid = pidlist.first; pid; pid = pid->next) { |