diff options
Diffstat (limited to 'source/blender/blenkernel/intern/object.c')
-rw-r--r-- | source/blender/blenkernel/intern/object.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/source/blender/blenkernel/intern/object.c b/source/blender/blenkernel/intern/object.c index 9285ed785a9..4342e5b3c8d 100644 --- a/source/blender/blenkernel/intern/object.c +++ b/source/blender/blenkernel/intern/object.c @@ -222,7 +222,7 @@ void free_object(Object *ob) BPY_free_scriptlink(&ob->scriptlink); if(ob->pd) MEM_freeN(ob->pd); - if(ob->soft) free_softbody(ob->soft); + if(ob->soft) sbFree(ob->soft); } void unlink_object(Object *ob) |