mirror of
https://github.com/qgis/QGIS.git
synced 2025-04-18 00:03:05 -04:00
[Geometry checker] Fix layerFeature comparison
This commit is contained in:
parent
f114b53178
commit
c71d4216ca
@ -36,7 +36,7 @@ void QgsGeometryLineIntersectionCheck::collectErrors( QList<QgsGeometryCheckErro
|
||||
QgsGeometryCheckerUtils::LayerFeatures checkFeatures( mContext->featurePools, featureIds.keys(), line->boundingBox(), {QgsWkbTypes::LineGeometry} );
|
||||
for ( const QgsGeometryCheckerUtils::LayerFeature &checkFeature : checkFeatures )
|
||||
{
|
||||
if ( checkFeature.feature().id() == layerFeature.feature().id() )
|
||||
if ( checkFeature == layerFeature )
|
||||
{
|
||||
// Skip current feature
|
||||
continue;
|
||||
|
Loading…
x
Reference in New Issue
Block a user