Fix #20171: properties of hair are not animateable.

This commit is contained in:
2010-02-14 14:37:26 +00:00
parent be575aa3a0
commit 32aea49b6d

View 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);
}