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:
authorJanne Karhu <jhkarh@gmail.com>2010-11-07 01:03:42 +0300
committerJanne Karhu <jhkarh@gmail.com>2010-11-07 01:03:42 +0300
commitb0e62b0351bf056f4f5b8454c70ee1c24bad35c9 (patch)
tree132eeb797eddea5a5538627782fe84520a9ca3c8 /source/blender/blenkernel/intern/depsgraph.c
parent801c79e9388cb4212f7489aea8ad8adbfd489143 (diff)
Fix for [#24560] Cloth pinning breaks (when parenting?)
* Changing the pin group needs to redo the whole cloth object. * Also, parent updates weren't flushed properly to pointcache in depsgraph.
Diffstat (limited to 'source/blender/blenkernel/intern/depsgraph.c')
-rw-r--r--source/blender/blenkernel/intern/depsgraph.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/source/blender/blenkernel/intern/depsgraph.c b/source/blender/blenkernel/intern/depsgraph.c
index 21ef1c03e3a..c4ee97c21c5 100644
--- a/source/blender/blenkernel/intern/depsgraph.c
+++ b/source/blender/blenkernel/intern/depsgraph.c
@@ -1858,7 +1858,7 @@ static void flush_pointcache_reset(Scene *scene, DagNode *node, int curtime, int
for(itA = node->child; itA; itA= itA->next) {
if(itA->node->type==ID_OB) {
if(itA->node->lasttime!=curtime) {
- ob= (Object*)(node->ob);
+ ob= (Object*)(itA->node->ob);
if(reset || (ob->recalc & OB_RECALC_ALL)) {
if(BKE_ptcache_object_reset(scene, ob, PTCACHE_RESET_DEPSGRAPH))