summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authormartin-s <martin-s@ffa7fe5e-494d-0410-b361-a75ebd5db220>2009-06-25 21:07:04 +0000
committermartin-s <martin-s@ffa7fe5e-494d-0410-b361-a75ebd5db220>2009-06-25 21:07:04 +0000
commit85df7dafccafa7ff350bea68cf04177cf1db2b4d (patch)
treed47c296d7da017bf02ffd490d1a466c123ec1ab2
parent5bbecce5f2a1a3d4939cb82d92d8850e06b90202 (diff)
downloadnavit-svn-85df7dafccafa7ff350bea68cf04177cf1db2b4d.tar.gz
Fix:Core:Don't try to autodetect roundabouts when not necessary
git-svn-id: http://svn.code.sf.net/p/navit/code/trunk/navit/navit@2376 ffa7fe5e-494d-0410-b361-a75ebd5db220
-rw-r--r--route.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/route.c b/route.c
index 44174864..8c5a31e4 100644
--- a/route.c
+++ b/route.c
@@ -426,6 +426,8 @@ route_check_roundabout(struct route_graph_segment *seg, int level, int direction
if (direction && !(seg->data.flags & AF_ONEWAYREV)) {
return 0;
}
+ if (seg->data.flags & AF_ROUNDABOUT_VALID)
+ return 0;
if (!origin) {
origin = seg;