Revision: 7451
http://playerstage.svn.sourceforge.net/playerstage/?rev=7451&view=rev
Author: natepak
Date: 2009-03-10 18:30:28 +0000 (Tue, 10 Mar 2009)
Log Message:
-----------
Added deletion of the visual
Modified Paths:
--------------
code/branches/federation/gazebo/server/Entity.cc
Modified: code/branches/federation/gazebo/server/Entity.cc
===================================================================
--- code/branches/federation/gazebo/server/Entity.cc 2009-03-10 18:29:52 UTC
(rev 7450)
+++ code/branches/federation/gazebo/server/Entity.cc 2009-03-10 18:30:28 UTC
(rev 7451)
@@ -75,8 +75,10 @@
{
delete this->staticP;
- GZ_DELETE(this->visualNode);
World::Instance()->GetPhysicsEngine()->RemoveEntity(this);
+
+ OgreVisualManager::Instance()->DeleteVisual(this->visualNode);
+ //GZ_DELETE(this->visualNode);
}
////////////////////////////////////////////////////////////////////////////////
This was sent by the SourceForge.net collaborative development platform, the
world's largest Open Source development site.
------------------------------------------------------------------------------
_______________________________________________
Playerstage-commit mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/playerstage-commit