[#18277] Segfault crash by editing mesh with subsurf+ParticleInstance modifiers
Marked as fixed but was still using uninitialized variables.
This commit is contained in:
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];
|
||||
|
Loading…
Reference in New Issue
Block a user