Skip to content

Commit e2bf9c6

Browse files
committedMar 4, 2013
Consider avoid intersection settings when pasting features
1 parent f91e79b commit e2bf9c6

File tree

1 file changed

+6
-0
lines changed

1 file changed

+6
-0
lines changed
 

‎src/app/qgisapp.cpp

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -5311,6 +5311,12 @@ void QgisApp::editPaste( QgsMapLayer *destinationLayer )
53115311
}
53125312

53135313
f.setAttributes( dstAttr );
5314+
5315+
//avoid intersection if enabled in digitize settings
5316+
if ( f.geometry() )
5317+
{
5318+
f.geometry()->avoidIntersections();
5319+
}
53145320
}
53155321

53165322
pasteVectorLayer->addFeatures( features );

0 commit comments

Comments
 (0)
Please sign in to comment.