Skip to content
Permalink
Browse files

Merge pull request #9308 from m-kuhn/z-with-duplicate-nodes

Take Z values into consideration in avoid duplicate nodes
  • Loading branch information
m-kuhn committed Mar 2, 2019
2 parents ca95220 + 8f29e65 commit 252791e9e101ae3ec9653aca2c00648f6fad18d8
Showing with 1 addition and 1 deletion.
  1. +1 −1 src/core/qgsgeometryoptions.cpp
@@ -52,7 +52,7 @@ void QgsGeometryOptions::apply( QgsGeometry &geometry ) const
geometry = geometry.snappedToGrid( mGeometryPrecision, mGeometryPrecision );

if ( mRemoveDuplicateNodes )
geometry.removeDuplicateNodes();
geometry.removeDuplicateNodes( 4 * std::numeric_limits<double>::epsilon(), true );
}

QStringList QgsGeometryOptions::geometryChecks() const

0 comments on commit 252791e

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