Skip to content
Snippets Groups Projects
Commit e62fc973 authored by Rainer Kartmann's avatar Rainer Kartmann
Browse files

Fix creation of RobotNameHelper

parent becb5738
No related branches found
No related tags found
No related merge requests found
......@@ -9,8 +9,8 @@ namespace armarx::viz
RobotHand& RobotHand::fileBySide(const std::string& side, RobotInfoNodePtr robotInfo)
{
ARMARX_CHECK_NOT_NULL(robotInfo);
RobotNameHelper nh(robotInfo, nullptr);
return this->fileBySide(side, nh);
RobotNameHelperPtr nh = RobotNameHelper::Create(robotInfo, nullptr);
return this->fileBySide(side, *nh);
}
RobotHand& RobotHand::fileBySide(const std::string& side, const RobotNameHelper& nameHelper)
......
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