Skip to content

Commit

Permalink
Browse files Browse the repository at this point in the history
Make CAD dock work well with node tool when adding vertex at endpoint
  • Loading branch information
wonder-sk committed Sep 11, 2017
1 parent 68a39a2 commit bb20047
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/app/nodetool/qgsnodetool.cpp
Expand Up @@ -1291,7 +1291,7 @@ void QgsNodeTool::startDraggingAddVertexAtEndpoint( const QgsPointXY &mapPoint )
QgsPointXY pt0 = geom.vertexAt( adjacentVertexIndexToEndpoint( geom, mMouseAtEndpoint->vertexId ) );
QgsPointXY pt1 = geom.vertexAt( mMouseAtEndpoint->vertexId );

cadDockWidget()->setPoints( QList<QgsPointXY>() << pt0 << pt1 );
cadDockWidget()->setPoints( QList<QgsPointXY>() << pt0 << pt1 << pt1 );
}

void QgsNodeTool::startDraggingEdge( const QgsPointLocator::Match &m, const QgsPointXY &mapPoint )
Expand Down

0 comments on commit bb20047

Please sign in to comment.