Bugfix for some particle system vertex group memory leaks.
This commit is contained in:
@@ -4532,8 +4532,9 @@ static void system_step(Object *ob, ParticleSystem *psys, ParticleSystemModifier
|
||||
else if(psys->pathcache)
|
||||
psys_free_path_cache(psys);
|
||||
|
||||
if(vg_vel)
|
||||
MEM_freeN(vg_vel);
|
||||
if(vg_vel) MEM_freeN(vg_vel);
|
||||
if(vg_tan) MEM_freeN(vg_tan);
|
||||
if(vg_rot) MEM_freeN(vg_rot);
|
||||
|
||||
if(psys->lattice){
|
||||
end_latt_deform();
|
||||
|
||||
Reference in New Issue
Block a user