Welcome to mirror list, hosted at ThFree Co, Russian Federation.

git.blender.org/blender.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorKester Maddock <Christopher.Maddock.1@uni.massey.ac.nz>2004-05-08 04:25:20 +0400
committerKester Maddock <Christopher.Maddock.1@uni.massey.ac.nz>2004-05-08 04:25:20 +0400
commitbd50d2f9cdaa5f84434cc3c5ba58fec94b84fdab (patch)
tree6ac561ef50b7fa62a8462273fd0983231b275dcf /source/gameengine/Physics/Sumo/Fuzzics
parent83907fc5f73b6634239d891fe2b0dd4be203b86b (diff)
Delete all SOLID shapes at the end of the game engine. They were all being leaked!
Diffstat (limited to 'source/gameengine/Physics/Sumo/Fuzzics')
-rw-r--r--source/gameengine/Physics/Sumo/Fuzzics/src/SM_FhObject.cpp1
1 files changed, 1 insertions, 0 deletions
diff --git a/source/gameengine/Physics/Sumo/Fuzzics/src/SM_FhObject.cpp b/source/gameengine/Physics/Sumo/Fuzzics/src/SM_FhObject.cpp
index c6134bde8f8..e905459ce21 100644
--- a/source/gameengine/Physics/Sumo/Fuzzics/src/SM_FhObject.cpp
+++ b/source/gameengine/Physics/Sumo/Fuzzics/src/SM_FhObject.cpp
@@ -46,6 +46,7 @@ SM_FhObject::SM_FhObject(DT_ShapeHandle rayshape, MT_Vector3 ray, SM_Object *par
SM_FhObject::~SM_FhObject()
{
+ DT_DeleteShape(getShapeHandle());
}
DT_Bool SM_FhObject::ray_hit(void *client_data,