diff options
author | Brecht Van Lommel <brechtvanlommel@pandora.be> | 2008-04-10 17:20:36 +0400 |
---|---|---|
committer | Brecht Van Lommel <brechtvanlommel@pandora.be> | 2008-04-10 17:20:36 +0400 |
commit | 7751a18c0b6f984a014717310d56d14d6e5b1a86 (patch) | |
tree | 286f6d56820fd81dbf121e226f4919d64830459c /source/blender/blenkernel | |
parent | 8b2b470d44d90997eccb1a357118cef057978ff2 (diff) |
Fix for mistake in pointcache refactor commit.
Diffstat (limited to 'source/blender/blenkernel')
-rw-r--r-- | source/blender/blenkernel/intern/particle.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/source/blender/blenkernel/intern/particle.c b/source/blender/blenkernel/intern/particle.c index 6bdb4e6f8d3..c64b5fdceaf 100644 --- a/source/blender/blenkernel/intern/particle.c +++ b/source/blender/blenkernel/intern/particle.c @@ -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); } } |