forked from organicmaps/organicmaps
[Routing] crashfix in case of routes passing through loop edges.
This commit is contained in:
parent
89e2b9e6fe
commit
774f2ab5bf
1 changed files with 0 additions and 1 deletions
|
@ -66,7 +66,6 @@ void IndexGraphStarter::RedressRoute(vector<Joint::Id> const & route,
|
|||
|
||||
RoadGeometry const roadGeometry = m_graph.GetGeometry().GetRoad(featureId);
|
||||
|
||||
CHECK_NOT_EQUAL(pointFrom, pointTo, ("featureId =", featureId));
|
||||
uint32_t const step = pointFrom < pointTo ? 1 : -1;
|
||||
|
||||
for (uint32_t prevPointId = pointFrom; prevPointId != pointTo; prevPointId += step)
|
||||
|
|
Loading…
Add table
Reference in a new issue