Skip to content

Commit

Permalink
Don't collapse segregated intersections at roundabout exits, #5114
Browse files Browse the repository at this point in the history
  • Loading branch information
oxidase committed Jun 21, 2018
1 parent 1628a3c commit b6ba9b0
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions src/engine/guidance/collapse_turns.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -621,6 +621,7 @@ RouteSteps collapseSegregatedTurnInstructions(RouteSteps steps)
// else if the current step is segregated and the next step is not segregated
// and the next step is not a roundabout then combine with turn adjustment
else if (curr_step->is_segregated && !next_step->is_segregated &&
!hasRoundaboutType(curr_step->maneuver.instruction) &&
!hasRoundaboutType(next_step->maneuver.instruction))
{
// Determine if u-turn
Expand Down

0 comments on commit b6ba9b0

Please sign in to comment.