Fix for [#23596] Particle Harmonics cache problem

* Non-dynamic particles weren't reset properly because they don't use pointcache
This commit is contained in:
Janne Karhu 2010-09-01 09:47:19 +00:00
parent e5b9ad3817
commit e50bdef683

@ -4035,6 +4035,10 @@ void particle_system_update(Scene *scene, Object *ob, ParticleSystem *psys)
{
PARTICLE_P;
/* Particles without dynamics haven't been reset yet because they don't use pointcache */
if(psys->recalc & PSYS_RECALC_RESET)
psys_reset(psys, PSYS_RESET_ALL);
if(emit_particles(&sim, NULL, cfra)) {
free_keyed_keys(psys);
distribute_particles(&sim, part->from);