diff options
author | Vladimir Byko-Ianko <bykoianko@gmail.com> | 2017-03-01 17:46:26 +0300 |
---|---|---|
committer | GitHub <noreply@github.com> | 2017-03-01 17:46:26 +0300 |
commit | aaa7e9c66592beaeb02dce8102f408eba0ae5dd9 (patch) | |
tree | 04b7736511810b772c0cc1350784b59adcbacdfc /routing/index_graph_starter.cpp | |
parent | ae10370e128b98935b37e188f4e9279795c0bb3a (diff) | |
parent | 316268660e47c5b21b0376d7081b5d500ccba53c (diff) |
Merge pull request #5468 from dobriy-eeh/cross-mwm-routingbeta-657
[routing] Enable cross mwm index router
Diffstat (limited to 'routing/index_graph_starter.cpp')
-rw-r--r-- | routing/index_graph_starter.cpp | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/routing/index_graph_starter.cpp b/routing/index_graph_starter.cpp index 8fa511e2dd..064d96bb5b 100644 --- a/routing/index_graph_starter.cpp +++ b/routing/index_graph_starter.cpp @@ -22,8 +22,7 @@ m2::PointD const & IndexGraphStarter::GetPoint(Segment const & segment, bool fro if (segment == kFinishFakeSegment || (front && m_finish.Fits(segment))) return m_finish.GetPoint(); - return m_graph.GetRoadGeometry(segment.GetMwmId(), segment.GetFeatureId()) - .GetPoint(segment.GetPointId(front)); + return m_graph.GetPoint(segment, front); } // static |