Skip to content
Permalink
Browse files

[Geometry checker] Fix wrong obsoletes test in QgsGeometryContainedCh…

…eck::fixError
  • Loading branch information
manisandro committed Oct 16, 2017
1 parent 0ffd00d commit 8f343a911418757731ab1f0e2469ac025201e696
Showing with 1 addition and 1 deletion.
  1. +1 −1 src/analysis/vector/geometry_checker/qgsgeometrycontainedcheck.cpp
@@ -80,7 +80,7 @@ void QgsGeometryContainedCheck::fixError( QgsGeometryCheckError *error, int meth
QSharedPointer<QgsGeometryEngine> geomEngineA = QgsGeometryCheckerUtils::createGeomEngine( layerFeatureA.geometry(), mContext->tolerance );
QSharedPointer<QgsGeometryEngine> geomEngineB = QgsGeometryCheckerUtils::createGeomEngine( layerFeatureB.geometry(), mContext->tolerance );

if ( !( geomEngineA->contains( layerFeatureB.geometry() ) && !geomEngineB->contains( layerFeatureA.geometry() ) ) )
if ( !( geomEngineB->contains( layerFeatureA.geometry() ) && !geomEngineA->contains( layerFeatureB.geometry() ) ) )
{
error->setObsolete();
return;

0 comments on commit 8f343a9

Please sign in to comment.
You can’t perform that action at this time.