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:
authorBrecht Van Lommel <brechtvanlommel@pandora.be>2012-02-21 20:34:00 +0400
committerBrecht Van Lommel <brechtvanlommel@pandora.be>2012-02-21 20:34:00 +0400
commit3efe399ed4740f0aa547f689fe025a2c786f2978 (patch)
tree409b388ae3fe821055296f36baa26e8076a7801d /source/blender/blenkernel/intern/depsgraph.c
parent1b0802265cee38b1532cfe2bb2e26c4d228b1c78 (diff)
Fix part of #30272: cycles preview render not updating when changing particle
emission from with instanced objects.
Diffstat (limited to 'source/blender/blenkernel/intern/depsgraph.c')
-rw-r--r--source/blender/blenkernel/intern/depsgraph.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/source/blender/blenkernel/intern/depsgraph.c b/source/blender/blenkernel/intern/depsgraph.c
index 19fc75a88fe..217eb0d68c6 100644
--- a/source/blender/blenkernel/intern/depsgraph.c
+++ b/source/blender/blenkernel/intern/depsgraph.c
@@ -2718,6 +2718,8 @@ void DAG_id_tag_update(ID *id, short flag)
if(&psys->part->id == id) {
ob->recalc |= (flag & OB_RECALC_ALL);
psys->recalc |= (flag & PSYS_RECALC);
+ lib_id_recalc_tag(bmain, &ob->id);
+ lib_id_recalc_data_tag(bmain, &ob->id);
}
}
}