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

Use viz::Path instead of viz::Polygon for adapting debug drawer line to ArViz

(Polygons with 2 points are invalid)
parent b2aff28f
No related branches found
No related tags found
No related merge requests found
......@@ -144,8 +144,8 @@ namespace armarx
{
return;
}
setAndCommit(layer, viz::Polygon(name).addPoint(toEigen(globalPosition1)).addPoint(toEigen(globalPosition2))
.lineColor(toViz(color)).lineWidth(lineWidth).color(simox::Color::black(0)));
setAndCommit(layer, viz::Path(name).addPoint(toEigen(globalPosition1)).addPoint(toEigen(globalPosition2))
.color(toViz(color)).width(lineWidth).color(simox::Color::black(0)));
}
void DebugDrawerToArViz::setLineSetVisu(const std::string& layerName, const std::string& name, const DebugDrawerLineSet& lineSet, const Ice::Current&)
......
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