Skip to content
Permalink
Browse files

RoadGraph: fix export tool.

  • Loading branch information
Sergey Yakushev
Sergey Yakushev committed Jan 12, 2012
1 parent 8ed3e6d commit 96db37839115b3ad79881ec520a870b37a977abe
Showing with 2 additions and 2 deletions.
  1. +2 −2 src/plugins/roadgraph/shortestpathwidget.cpp
@@ -383,10 +383,10 @@ void RgShortestPathWidget::exportPath()
if ( l.empty() )
break;
const QgsGraphArc& e = path.arc( l.front() );
p.push_front( path.vertex( e.inVertex() ).point() );
p.push_front( ct.transform( path.vertex( e.inVertex() ).point() ) );
stopVertexIdx = e.outVertex();
}
p.push_front( p1 );
p.push_front( ct.transform( p1 ) );

vl->startEditing();
QgsFeature f;

0 comments on commit 96db378

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