Skip to content
Permalink
Browse files

[Geometry checker] Fix incorrect logic in QgsGeometryCheckError::hand…

…leChanges
  • Loading branch information
manisandro committed Oct 23, 2017
1 parent 876418c commit cc9a2b336fc3a8f5d451596ebdfd05ce0c6f3f6a
Showing with 2 additions and 2 deletions.
  1. +2 −2 src/analysis/vector/geometry_checker/qgsgeometrycheck.cpp
@@ -102,7 +102,7 @@ bool QgsGeometryCheckError::handleChanges( const QgsGeometryCheck::Changes &chan
}
else if ( change.what == QgsGeometryCheck::ChangePart )
{
if ( change.type == QgsGeometryCheck::ChangeChanged || mVidx.part == change.vidx.part )
if ( mVidx.part == change.vidx.part )
{
return false;
}
@@ -115,7 +115,7 @@ bool QgsGeometryCheckError::handleChanges( const QgsGeometryCheck::Changes &chan
{
if ( mVidx.partEqual( change.vidx ) )
{
if ( change.type == QgsGeometryCheck::ChangeChanged || mVidx.ring == change.vidx.ring )
if ( mVidx.ring == change.vidx.ring )
{
return false;
}

0 comments on commit cc9a2b3

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