Skip to content

Commit

Permalink
[Geometry checker] Fix layerFeature comparison
Browse files Browse the repository at this point in the history
manisandro committed Oct 23, 2017
1 parent f114b53 commit c71d421
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
@@ -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;

0 comments on commit c71d421

Please sign in to comment.