Revision: 8659
http://playerstage.svn.sourceforge.net/playerstage/?rev=8659&view=rev
Author: hsujohnhsu
Date: 2010-05-06 01:21:58 +0000 (Thu, 06 May 2010)
Log Message:
-----------
allocate Simulator::gazeboConfig on construct.
Modified Paths:
--------------
code/gazebo/trunk/server/Simulator.cc
Modified: code/gazebo/trunk/server/Simulator.cc
===================================================================
--- code/gazebo/trunk/server/Simulator.cc 2010-05-04 20:32:16 UTC (rev
8658)
+++ code/gazebo/trunk/server/Simulator.cc 2010-05-06 01:21:58 UTC (rev
8659)
@@ -78,6 +78,7 @@
this->render_mutex = new boost::recursive_mutex();
this->model_delete_mutex = new boost::recursive_mutex();
this->startTime = this->GetWallTime();
+ this->gazeboConfig=new gazebo::GazeboConfig();
}
////////////////////////////////////////////////////////////////////////////////
@@ -166,7 +167,6 @@
gazebo::GazeboMessage::Instance()->Load(rootNode);
// load the configuration options
- this->gazeboConfig=new gazebo::GazeboConfig();
try
{
this->gazeboConfig->Load();
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