forked from bartvdbraak/blender
An initializer line was missing from the beginning of a loop, causing crashes.
This commit is contained in:
parent
fcc377e204
commit
cb6fd8927c
@ -2596,6 +2596,7 @@ static void precalc_effectors(Object *ob, ParticleSystem *psys, ParticleSystemMo
|
||||
|
||||
for(ec= lb->first; ec; ec= ec->next) {
|
||||
PartDeflect *pd= ec->ob->pd;
|
||||
co = NULL;
|
||||
|
||||
if(ec->type==PSYS_EC_EFFECTOR && pd->forcefield==PFIELD_GUIDE && ec->ob->type==OB_CURVE
|
||||
&& part->phystype!=PART_PHYS_BOIDS) {
|
||||
|
Loading…
Reference in New Issue
Block a user