Skip to content
Permalink
Browse files

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 bb200475076ec903f427fefa8b5e628ea01372d1
Showing with 1 addition and 1 deletion.
  1. +1 −1 src/app/nodetool/qgsnodetool.cpp
@@ -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 )

0 comments on commit bb20047

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