Skip to content
Permalink
Browse files

remove useless code

  • Loading branch information
3nids committed Oct 3, 2014
1 parent 953f977 commit 30dd6e779b82b1357e76b4061c453db3c84b7eb7
Showing with 0 additions and 12 deletions.
  1. +0 −12 src/app/qgsmaptoolcapture.cpp
@@ -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 )
{

0 comments on commit 30dd6e7

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