Skip to content
Snippets Groups Projects
Commit 1845551a authored by Joseph Mirabel's avatar Joseph Mirabel Committed by Joseph Mirabel
Browse files

Fix WaypointEdge::dotPrint

parent 19096700
No related branches found
No related tags found
No related merge requests found
...@@ -426,11 +426,11 @@ namespace hpp { ...@@ -426,11 +426,11 @@ namespace hpp {
{ {
// First print the waypoint node, then the first edge. // First print the waypoint node, then the first edge.
da ["style"]="dashed"; da ["style"]="dashed";
for (std::size_t i = 1; i < waypoints_.size (); ++i) for (std::size_t i = 0; i < waypoints_.size (); ++i)
waypoints_[i].second->dotPrint (os, da); waypoints_[i].second->dotPrint (os, da);
da ["style"]="solid"; da ["style"]="solid";
for (std::size_t i = 1; i < waypoints_.size (); ++i) for (std::size_t i = 0; i < waypoints_.size (); ++i)
waypoints_[i].first->dotPrint (os, da) << std::endl; waypoints_[i].first->dotPrint (os, da) << std::endl;
da ["style"]="dotted"; da ["style"]="dotted";
......
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