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>2010-02-14 17:18:23 +0300
committerBrecht Van Lommel <brechtvanlommel@pandora.be>2010-02-14 17:18:23 +0300
commitbe575aa3a098647375ea0dd12f21881ec03cb001 (patch)
tree606d29a6633303b577f776754d7a87dfad2dc689 /source/blender/blenkernel
parent3de9280ecffa6e20257fba4c196824b57b5f899b (diff)
Fix #20282: particle normal force can be animated but not driven.
Diffstat (limited to 'source/blender/blenkernel')
-rw-r--r--source/blender/blenkernel/intern/particle_system.c3
1 files changed, 3 insertions, 0 deletions
diff --git a/source/blender/blenkernel/intern/particle_system.c b/source/blender/blenkernel/intern/particle_system.c
index 0186390348a..02a45a61712 100644
--- a/source/blender/blenkernel/intern/particle_system.c
+++ b/source/blender/blenkernel/intern/particle_system.c
@@ -3925,6 +3925,9 @@ void particle_system_update(Scene *scene, Object *ob, ParticleSystem *psys)
if(!sim.psmd->dm)
return;
+ /* execute drivers only, as animation has already been done */
+ BKE_animsys_evaluate_animdata(&psys->part->id, psys->part->adt, cfra, ADT_RECALC_DRIVERS);
+
if(psys->recalc & PSYS_RECALC_TYPE)
psys_changed_type(&sim);
else if(psys->recalc & PSYS_RECALC_PHYS)