Skip to content

Commit

Permalink
remove useless code
Browse files Browse the repository at this point in the history
  • Loading branch information
3nids committed Oct 3, 2014
1 parent 953f977 commit 30dd6e7
Showing 1 changed file with 0 additions and 12 deletions.
12 changes: 0 additions & 12 deletions src/app/qgsmaptoolcapture.cpp
Expand Up @@ -149,18 +149,6 @@ int QgsMapToolCapture::nextPoint( const QPoint &p, QgsPoint &layerPoint, QgsPoin
return 1;
}

QgsPoint digitisedPoint;
try
{
digitisedPoint = toLayerCoordinates( vlayer, p );
}
catch ( QgsCsException &cse )
{
Q_UNUSED( cse );
QgsDebugMsg( "transformation to layer coordinate failed" );
return 2;
}

QList<QgsSnappingResult> snapResults;
if ( mSnapper.snapToBackgroundLayers( p, snapResults ) == 0 )
{
Expand Down

0 comments on commit 30dd6e7

Please sign in to comment.