Skip to content

Commit

Permalink
fix errors
Browse files Browse the repository at this point in the history
  • Loading branch information
rhaschke committed Nov 6, 2018
1 parent 1939751 commit b53fef5
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion urdf_parser/src/model.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -59,7 +59,7 @@ ModelInterfaceSharedPtr parseURDFFile(const std::string &path)
return urdf::parseURDF( xml_str );
}

bool assignMaterial(const VisualSharedPtr& visual, const ModelInterfaceSharedPtr& model, const char* link_name)
bool assignMaterial(const VisualSharedPtr& visual, ModelInterfaceSharedPtr& model, const char* link_name)
{
if (visual->material_name.empty())
return true;
Expand All @@ -84,6 +84,7 @@ bool assignMaterial(const VisualSharedPtr& visual, const ModelInterfaceSharedPtr
return false;
}
}
return true;
}

ModelInterfaceSharedPtr parseURDF(const std::string &xml_string)
Expand Down

0 comments on commit b53fef5

Please sign in to comment.