[routing] Disable cross mwm index router

This commit is contained in:
Добрый Ээх 2017-03-01 17:36:59 +03:00
parent 3ffe816219
commit 316268660e

View file

@ -401,8 +401,9 @@ CarRouter::ResultCode CarRouter::CalculateRoute(m2::PointD const & startPoint,
m2::PointD const & finalPoint,
RouterDelegate const & delegate, Route & route)
{
if (AllMwmsHaveRoutingIndex())
return m_router->CalculateRoute(startPoint, startDirection, finalPoint, delegate, route);
// TODO uncomment this to activate cross mwm index router.
// if (AllMwmsHaveRoutingIndex())
// return m_router->CalculateRoute(startPoint, startDirection, finalPoint, delegate, route);
my::HighResTimer timer(true);