Skip to content
Permalink
Browse files
Consider avoid intersection settings when pasting features
  • Loading branch information
mhugent committed Mar 4, 2013
1 parent f91e79b commit e2bf9c6db63f6d2b29896103f8c5a104cfa9c70f
Showing with 6 additions and 0 deletions.
  1. +6 −0 src/app/qgisapp.cpp
@@ -5311,6 +5311,12 @@ void QgisApp::editPaste( QgsMapLayer *destinationLayer )
}

f.setAttributes( dstAttr );

//avoid intersection if enabled in digitize settings
if ( f.geometry() )
{
f.geometry()->avoidIntersections();
}
}

pasteVectorLayer->addFeatures( features );

0 comments on commit e2bf9c6

Please sign in to comment.