Permalink
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Browse files
[Geometry checker] Fix layerFeature comparison
- Loading branch information
|
@@ -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; |
|
|