Skip to content

Commit

Permalink
Fix missing vertex check
Browse files Browse the repository at this point in the history
  • Loading branch information
m-kuhn committed Sep 28, 2018
1 parent 903e943 commit 7af61a4
Showing 1 changed file with 2 additions and 2 deletions.
Expand Up @@ -37,9 +37,9 @@ void QgsGeometryMissingVertexCheck::collectErrors( const QMap<QString, QgsFeatur
if ( feedback )
feedback->setProgress( feedback->progress() + 1.0 );

QMap<QString, QgsFeatureIds> featureIds = ids.isEmpty() ? allLayerFeatureIds() : ids;
QMap<QString, QgsFeatureIds> featureIds = ids.isEmpty() ? allLayerFeatureIds( featurePools ) : ids.toMap();

QgsFeaturePool *featurePool = mContext->featurePools.value( featureIds.firstKey() );
QgsFeaturePool *featurePool = featurePools.value( featureIds.firstKey() );

const QgsGeometryCheckerUtils::LayerFeatures layerFeatures( featurePools, featureIds, compatibleGeometryTypes(), nullptr, mContext, true );

Expand Down

0 comments on commit 7af61a4

Please sign in to comment.