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 9, 2011
1 parent a579685 commit 3a9e267af8a98256a661472b1a1c9cdc09376186
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 3a9e267

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