Fix #20171: properties of hair are not animateable.
authorBrecht Van Lommel <brechtvanlommel@pandora.be>
Sun, 14 Feb 2010 14:37:26 +0000 (14:37 +0000)
committerBrecht Van Lommel <brechtvanlommel@pandora.be>
Sun, 14 Feb 2010 14:37:26 +0000 (14:37 +0000)
source/blender/blenkernel/intern/particle_system.c

index 02a45a617123865a6bd952b15fc2be9546a06579..a4784fc606d4c0312856c2ce48e4eaa3b308dcf5 100644 (file)
@@ -3945,6 +3945,7 @@ void particle_system_update(Scene *scene, Object *ob, ParticleSystem *psys)
 
                for(i=0; i<=psys->part->hair_step; i++){
                        hcfra=100.0f*(float)i/(float)psys->part->hair_step;
+                       BKE_animsys_evaluate_animdata(&psys->part->id, psys->part->adt, hcfra, ADT_RECALC_ANIM);
                        system_step(&sim, hcfra);
                        save_hair(&sim, hcfra);
                }