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 mhugent committed Jun 10, 2011
1 parent a8486f0 commit 80595cd55435f9d38c559da3f548df543464a9ec
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 80595cd

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