Commit: 65c481e1457b7daf1ef3d1c41346070d345c1dcd
Author: Kévin Dietrich
Date:   Fri Oct 28 18:01:42 2016 +0200
Branches: master
https://developer.blender.org/rB65c481e1457b7daf1ef3d1c41346070d345c1dcd

CacheFile: fix missing depsgraph update.

===================================================================

M       source/blender/blenkernel/intern/depsgraph.c

===================================================================

diff --git a/source/blender/blenkernel/intern/depsgraph.c 
b/source/blender/blenkernel/intern/depsgraph.c
index 5f8332d..02ae123 100644
--- a/source/blender/blenkernel/intern/depsgraph.c
+++ b/source/blender/blenkernel/intern/depsgraph.c
@@ -2997,7 +2997,7 @@ void DAG_id_tag_update_ex(Main *bmain, ID *id, short flag)
                                MeshSeqCacheModifierData *mcmd = 
(MeshSeqCacheModifierData *)md;
 
                                if (mcmd->cache_file && (&mcmd->cache_file->id 
== id)) {
-                                       ob->recalc |= OB_RECALC_DATA;
+                                       ob->recalc |= OB_RECALC_ALL;
                                        continue;
                                }
                        }
@@ -3010,7 +3010,7 @@ void DAG_id_tag_update_ex(Main *bmain, ID *id, short flag)
                                bTransformCacheConstraint *data = con->data;
 
                                if (data->cache_file && (&data->cache_file->id 
== id)) {
-                                       ob->recalc |= OB_RECALC_DATA;
+                                       ob->recalc |= OB_RECALC_ALL;
                                        break;
                                }
                        }

_______________________________________________
Bf-blender-cvs mailing list
[email protected]
https://lists.blender.org/mailman/listinfo/bf-blender-cvs

Reply via email to