Revision: 8498
          http://playerstage.svn.sourceforge.net/playerstage/?rev=8498&view=rev
Author:   natepak
Date:     2010-01-13 05:04:28 +0000 (Wed, 13 Jan 2010)

Log Message:
-----------
destroy body in ode on destruction

Modified Paths:
--------------
    code/gazebo/trunk/server/physics/ode/ODEBody.cc

Modified: code/gazebo/trunk/server/physics/ode/ODEBody.cc
===================================================================
--- code/gazebo/trunk/server/physics/ode/ODEBody.cc     2010-01-13 04:40:58 UTC 
(rev 8497)
+++ code/gazebo/trunk/server/physics/ode/ODEBody.cc     2010-01-13 05:04:28 UTC 
(rev 8498)
@@ -65,6 +65,7 @@
 // Destructor
 ODEBody::~ODEBody()
 {
+  dBodyDestroy(this->bodyId);
 }
 
 
////////////////////////////////////////////////////////////////////////////////


This was sent by the SourceForge.net collaborative development platform, the 
world's largest Open Source development site.

------------------------------------------------------------------------------
This SF.Net email is sponsored by the Verizon Developer Community
Take advantage of Verizon's best-in-class app development support
A streamlined, 14 day to market process makes app distribution fast and easy
Join now and get one step closer to millions of Verizon customers
http://p.sf.net/sfu/verizon-dev2dev 
_______________________________________________
Playerstage-commit mailing list
Playerstage-commit@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/playerstage-commit

Reply via email to