Skip to content

Commit

Permalink
[move feature tool] respect CAD constraint [fix #19141]
Browse files Browse the repository at this point in the history
  • Loading branch information
3nids committed Jun 7, 2018
1 parent 51ae8e9 commit 38ef187
Showing 1 changed file with 0 additions and 3 deletions.
3 changes: 0 additions & 3 deletions src/app/qgsmaptoolmovefeature.cpp
Expand Up @@ -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() );
Expand Down

0 comments on commit 38ef187

Please sign in to comment.