Skip to content
Snippets Groups Projects
Commit fcce078a authored by mkroehnert's avatar mkroehnert
Browse files

VisualizationNode: rename variable

git-svn-id: http://svn.code.sf.net/p/simox/code/trunk@555 042f3d55-54a8-47e9-b7fb-15903f145c44
parent 30b19e56
No related branches found
No related tags found
No related merge requests found
......@@ -152,14 +152,13 @@ std::string VisualizationNode::toXML(const std::string &basePath, const std::str
std::string VisualizationNode::toXML(const std::string &basePath, int tabs)
{
std::string fnV = getFilename();
/*if (!fnV.empty())
std::string visualizationFilename = getFilename();
/*if (!visualizationFilename.empty() && !basePath.empty())
{
//if (!basePath.empty())
// BaseIO::makeRelativePath(basePath,fnV);
BaseIO::makeRelativePath(basePath, visualizationFilename);
}*/
boost::filesystem::path fn(fnV);
return toXML(basePath,fn.filename().string(),tabs);
boost::filesystem::path fn(visualizationFilename);
return toXML(basePath, fn.filename().string(), tabs);
}
VirtualRobot::VisualizationNodePtr VisualizationNode::CreateUnitedVisualization( const std::vector<VisualizationNodePtr> &visualizations )
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment