[#17356]: Reactor particles makes blender crash

This commit is contained in:
Daniel Genrich 2008-07-20 18:07:02 +00:00
parent e95e2fb43e
commit def3150098

@ -2798,6 +2798,9 @@ void do_effectors(int pa_no, ParticleData *pa, ParticleKey *state, Object *ob, P
pd= epart->pd;
totepart= epsys->totpart;
if(totepart <= 0)
continue;
if(pd->forcefield==PFIELD_HARMONIC){
/* every particle is mapped to only one harmonic effector particle */
p= pa_no%epsys->totpart;