Fix for mistake in pointcache refactor commit.

This commit is contained in:
2008-04-10 13:20:36 +00:00
parent 8b2b470d44
commit 7751a18c0b

View File

@@ -370,10 +370,10 @@ void psys_free(Object *ob, ParticleSystem * psys)
psys->part=0;
}
MEM_freeN(psys);
if(psys->pointcache)
BKE_ptcache_free(psys->pointcache);
MEM_freeN(psys);
}
}