Skip to content
Permalink
Browse files

[move feature tool] respect CAD constraint [fix #19141]

  • Loading branch information
3nids committed Jun 7, 2018
1 parent 51ae8e9 commit 38ef187c021f3d190cf53d4664d6718b31b85155
Showing with 0 additions and 3 deletions.
  1. +0 −3 src/app/qgsmaptoolmovefeature.cpp
@@ -78,9 +78,6 @@ void QgsMapToolMoveFeature::cadCanvasReleaseEvent( QgsMapMouseEvent *e )

if ( !mRubberBand )
{
// ideally we would snap preferably on the moved feature
e->snapPoint();

//find first geometry under mouse cursor and store iterator to it
QgsPointXY layerCoords = toLayerCoordinates( vlayer, e->mapPoint() );
double searchRadius = QgsTolerance::vertexSearchRadius( mCanvas->currentLayer(), mCanvas->mapSettings() );

0 comments on commit 38ef187

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