Revision: 8815
http://playerstage.svn.sourceforge.net/playerstage/?rev=8815&view=rev
Author: natepak
Date: 2010-07-06 18:40:10 +0000 (Tue, 06 Jul 2010)
Log Message:
-----------
More fixes to config paths
Modified Paths:
--------------
code/gazebo/trunk/server/GazeboConfig.cc
Modified: code/gazebo/trunk/server/GazeboConfig.cc
===================================================================
--- code/gazebo/trunk/server/GazeboConfig.cc 2010-07-06 18:10:34 UTC (rev
8814)
+++ code/gazebo/trunk/server/GazeboConfig.cc 2010-07-06 18:40:10 UTC (rev
8815)
@@ -59,15 +59,15 @@
std::string delim(":");
char *ogre_resource_path = getenv("OGRE_RESOURCE_PATH");
- if(this->ogrePaths.empty() && ogre_resource_path)
+ if(ogre_resource_path)
this->AddOgrePaths(std::string(ogre_resource_path));
char *gazebo_resource_path = getenv("GAZEBO_RESOURCE_PATH");
- if(this->gazeboPaths.empty() && gazebo_resource_path)
+ if(gazebo_resource_path)
this->AddGazeboPaths(std::string(gazebo_resource_path));
char *gazebo_plugin_path = getenv("GAZEBO_PLUGIN_PATH");
- if(this->pluginPaths.empty() && gazebo_plugin_path)
+ if(gazebo_plugin_path)
this->AddPluginPaths(std::string(gazebo_plugin_path));
if (cfgFile.is_open())
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 Sprint
What will you do first with EVO, the first 4G phone?
Visit sprint.com/first -- http://p.sf.net/sfu/sprint-com-first
_______________________________________________
Playerstage-commit mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/playerstage-commit