Particles with "no physics" didn't stick to the emitter like they were supposed to.

This commit is contained in:
Janne Karhu 2010-02-25 00:03:49 +00:00
parent d1f19d7e84
commit 8b9e0e941c

@ -3313,6 +3313,8 @@ static void dynamics_step(ParticleSimulationData *sim, float cfra)
if(pa->alive==PARS_UNBORN
&& (part->flag & PART_UNBORN || cfra + psys->pointcache->step > pa->time))
reset_particle(sim, pa, dtime, cfra);
else if(part->phystype == PART_PHYS_NO)
reset_particle(sim, pa, dtime, cfra);
if(dfra>0.0 && ELEM(pa->alive,PARS_ALIVE,PARS_DYING)){
switch(part->phystype){