Skip to content

Commit

Permalink
Browse files Browse the repository at this point in the history
fix RoadGraph plugin "path not found" error when start and stop point…
…s are equal
  • Loading branch information
stopa85milk authored and alexbruy committed Jun 9, 2011
1 parent a579685 commit 3a9e267
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 3a9e267

Please sign in to comment.