Skip to content
Permalink
Browse files

Take Z values into consideration in avoid duplicate nodes

  • Loading branch information
m-kuhn committed Feb 28, 2019
1 parent c748aac commit 8f29e6557ec462a0f71be8c65a6797a0e8035e14
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 8f29e65

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