Bugfix [#22811] Dupli-Instancing for particles broken.

commit r29079 removed 2 lines that are needed for instancing particles.
This commit is contained in:
Campbell Barton
2010-07-10 18:11:01 +00:00
parent 047cc31013
commit e37cbe9461

View File

@@ -3232,6 +3232,10 @@ static void hair_step(ParticleSimulationData *sim, float cfra)
if(psys->part->type==PART_HAIR && psys->flag & PSYS_HAIR_DYNAMICS)
do_hair_dynamics(sim);
/* following lines were removed r29079 but cause bug [#22811], see report for details */
psys_update_effectors(sim);
psys_update_path_cache(sim, cfra);
psys->flag |= PSYS_HAIR_UPDATED;
}