Skip to content
Permalink
Browse files

fix RoadGraph plugin "path not found" error when start and stop point…

…s are equal
  • Loading branch information
Sergey Yakushev authored and alexbruy committed Jun 10, 2011
1 parent c2cc95e commit 0dbc186d57e5e5de92b68a93042c603ce3c39e43
Showing with 1 addition and 0 deletions.
  1. +1 −0 src/plugins/roadgraph/utils.cpp
@@ -150,6 +150,7 @@ AdjacencyMatrix DijkstraFinder::find( const QgsPoint& frontPoint, const QgsPoint
}

AdjacencyMatrix m;
m[ frontPoint ];
QgsPoint nextPoint = backPoint;
QgsPoint firstPoint = backPoint;
while ( true )

0 comments on commit 0dbc186

Please sign in to comment.
You can’t perform that action at this time.