Skip to content

Commit

Permalink
fix RoadGraph plugin "path not found" error when start and stop point…
Browse files Browse the repository at this point in the history
…s are equal
  • Loading branch information
stopa85milk authored and mhugent committed Jun 10, 2011
1 parent a8486f0 commit 80595cd
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions src/plugins/roadgraph/utils.cpp
Expand Up @@ -150,6 +150,7 @@ AdjacencyMatrix DijkstraFinder::find( const QgsPoint& frontPoint, const QgsPoint
}

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

0 comments on commit 80595cd

Please sign in to comment.