Skip to content

Commit 96db378

Browse files
author
Sergey Yakushev
committed
RoadGraph: fix export tool.
1 parent 8ed3e6d commit 96db378

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

src/plugins/roadgraph/shortestpathwidget.cpp

+2-2
Original file line numberDiff line numberDiff line change
@@ -383,10 +383,10 @@ void RgShortestPathWidget::exportPath()
383383
if ( l.empty() )
384384
break;
385385
const QgsGraphArc& e = path.arc( l.front() );
386-
p.push_front( path.vertex( e.inVertex() ).point() );
386+
p.push_front( ct.transform( path.vertex( e.inVertex() ).point() ) );
387387
stopVertexIdx = e.outVertex();
388388
}
389-
p.push_front( p1 );
389+
p.push_front( ct.transform( p1 ) );
390390

391391
vl->startEditing();
392392
QgsFeature f;

0 commit comments

Comments
 (0)