[#18277] Segfault crash by editing mesh with subsurf+ParticleInstance modifiers

Marked as fixed but was still using uninitialized variables.
This commit is contained in:
Campbell Barton 2009-03-31 00:58:02 +00:00
parent ac2de0f28d
commit 22ad99783a

@ -6382,6 +6382,7 @@ static DerivedMesh * particleInstanceModifier_applyModifier(
if(psys->flag & (PSYS_HAIR_DONE|PSYS_KEYED)){
float min_r[3], max_r[3];
INIT_MINMAX(min_r, max_r);
dm->getMinMax(dm, min_r, max_r);
min_co=min_r[track];
max_co=max_r[track];