We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
qgis
Learn more about funding links in repositories.
Report abuse
There was an error while loading. Please reload this page.
2 parents f963ba3 + 5168d7d commit b379d75Copy full SHA for b379d75
src/app/qgsmaptooladdpart.cpp
@@ -71,7 +71,7 @@ void QgsMapToolAddPart::cadCanvasReleaseEvent( QgsMapMouseEvent *e )
71
QgsFeatureIterator selectedFeatures = vlayer->getSelectedFeatures();
72
QgsFeature firstSelectedFeature;
73
if ( selectedFeatures.nextFeature( firstSelectedFeature ) )
74
- if ( !firstSelectedFeature.geometry().isNull() )
+ if ( firstSelectedFeature.geometry().isNull() )
75
isGeometryEmpty = true;
76
}
77
0 commit comments