diff options
Diffstat (limited to 'source/blender/blenkernel/intern/softbody.c')
-rw-r--r-- | source/blender/blenkernel/intern/softbody.c | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/source/blender/blenkernel/intern/softbody.c b/source/blender/blenkernel/intern/softbody.c index 2707e4eebd7..87687e33f8f 100644 --- a/source/blender/blenkernel/intern/softbody.c +++ b/source/blender/blenkernel/intern/softbody.c @@ -875,8 +875,9 @@ static void free_scratch(SoftBody *sb) if (sb->scratch) { /* todo make sure everything is cleaned up nicly */ if (sb->scratch->colliderhash) { - BLI_ghash_free(sb->scratch->colliderhash, NULL, - (GHashValFreeFP) ccd_mesh_free); /*this hoepfully will free all caches*/ + BLI_ghash_free( + sb->scratch->colliderhash, NULL, + (GHashValFreeFP) ccd_mesh_free); /*this hoepfully will free all caches*/ sb->scratch->colliderhash = NULL; } if (sb->scratch->bodyface) { |