diff options
author | Ton Roosendaal <ton@blender.org> | 2006-06-20 21:31:41 +0400 |
---|---|---|
committer | Ton Roosendaal <ton@blender.org> | 2006-06-20 21:31:41 +0400 |
commit | 76ffb084509c809e690fe2d4bbc48e0d8aca3882 (patch) | |
tree | f67dd8f19993ee397ead0bd182f1cb45fc22f0a2 /source | |
parent | 2b0699fc472f97846c61ca0c41be020934b300cf (diff) |
bug #4374
Particles keep fighting with the depsgraph... time to get a depsgraph with
time dependencies in it...
Anyhoo, this fixes lack of parenting updates in hierarchies where children
have particles.
Diffstat (limited to 'source')
-rw-r--r-- | source/blender/blenkernel/intern/effect.c | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/source/blender/blenkernel/intern/effect.c b/source/blender/blenkernel/intern/effect.c index 0dc7a5d5c2a..9ba90160551 100644 --- a/source/blender/blenkernel/intern/effect.c +++ b/source/blender/blenkernel/intern/effect.c @@ -1551,7 +1551,9 @@ static pMatrixCache *cache_object_matrices(Object *ob, int start, int end) obcopy->id.newid= NULL; /* all objects get tagged recalc that influence this object (does group too) */ - DAG_object_update_flags(G.scene, ob, G.scene->lay); + /* another hack; while transform you cannot call this, it sets own recalc flags */ + if(G.moving==0) + DAG_object_update_flags(G.scene, ob, G.scene->lay); for(G.scene->r.cfra= start; G.scene->r.cfra<=end; G.scene->r.cfra++, mc++) { |