Skip to content

Commit 17c87e1

Browse files
mhugentalexbruy
authored andcommittedJan 31, 2012
[Backport]: disable abort if avoid intersections returns a different geometry type (e.g. multitype instead of singletype). Temporary solution for ticket #4880
1 parent 60df735 commit 17c87e1

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed
 

‎src/app/qgsmaptooladdfeature.cpp

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -409,14 +409,14 @@ void QgsMapToolAddFeature::canvasReleaseEvent( QMouseEvent * e )
409409
{
410410
//not a polygon type. Impossible to get there
411411
}
412-
else if ( avoidIntersectionsReturn == 2 )
412+
/*else if ( avoidIntersectionsReturn == 2 ) //MH120131: disable this error message until there is a better way to cope with the single type / multi type problem
413413
{
414414
//bail out...
415415
QMessageBox::critical( 0, tr( "Error" ), tr( "The feature could not be added because removing the polygon intersections would change the geometry type" ) );
416416
delete f;
417417
stopCapturing();
418418
return;
419-
}
419+
}*/
420420
else if ( avoidIntersectionsReturn == 3 )
421421
{
422422
QMessageBox::critical( 0, tr( "Error" ), tr( "An error was reported during intersection removal" ) );

0 commit comments

Comments
 (0)
Please sign in to comment.