Fix:Core:Don't try to autodetect roundabouts when not necessary
authormartin-s <martin-s@ffa7fe5e-494d-0410-b361-a75ebd5db220>
Thu, 25 Jun 2009 21:07:04 +0000 (21:07 +0000)
committermartin-s <martin-s@ffa7fe5e-494d-0410-b361-a75ebd5db220>
Thu, 25 Jun 2009 21:07:04 +0000 (21:07 +0000)
git-svn-id: https://navit.svn.sourceforge.net/svnroot/navit/trunk/navit@2376 ffa7fe5e-494d-0410-b361-a75ebd5db220

navit/route.c

index 4417486..8c5a31e 100644 (file)
@@ -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;