Skip to content

Commit

Permalink
Browse files Browse the repository at this point in the history
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 252791e
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/core/qgsgeometryoptions.cpp
Expand Up @@ -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
Expand Down

0 comments on commit 252791e

Please sign in to comment.