[#17356]: Reactor particles makes blender crash
This commit is contained in:
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;
|
||||
|
Loading…
Reference in New Issue
Block a user