diff options
author | Campbell Barton <ideasman42@gmail.com> | 2008-09-30 03:46:01 +0400 |
---|---|---|
committer | Campbell Barton <ideasman42@gmail.com> | 2008-09-30 03:46:01 +0400 |
commit | 16b425b9c044a23d047dc982a526db9cd07903b5 (patch) | |
tree | b810a70bb60d635d6c0a0792bbe1c18f08dd7598 /source/blender/blenkernel | |
parent | a32d4280c9668a27b9aef67c14698cc73266ce35 (diff) |
* free bullet-softbody was using free softbody function.
* mistake from own changes to curves, new curves were being added with too low resolution.
* removed warnings I added recently
Diffstat (limited to 'source/blender/blenkernel')
-rw-r--r-- | source/blender/blenkernel/intern/object.c | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/source/blender/blenkernel/intern/object.c b/source/blender/blenkernel/intern/object.c index b5d080da247..b6f6820ca73 100644 --- a/source/blender/blenkernel/intern/object.c +++ b/source/blender/blenkernel/intern/object.c @@ -70,6 +70,7 @@ #include "BKE_armature.h" #include "BKE_action.h" +#include "BKE_bullet.h" #include "BKE_colortools.h" #include "BKE_deform.h" #include "BKE_DerivedMesh.h" @@ -182,7 +183,7 @@ void object_free_softbody(Object *ob) void object_free_bulletsoftbody(Object *ob) { if(ob->bsoft) { - sbFree(ob->bsoft); + bsbFree(ob->bsoft); ob->bsoft= NULL; } } |