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 alexbruy committed Jun 10, 2011
1 parent c2cc95e commit 0dbc186
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions src/plugins/roadgraph/utils.cpp
Original file line number Diff line number Diff line change
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 0dbc186

Please sign in to comment.