Skip to content

Commit

Permalink
Take Z values into consideration in avoid duplicate nodes
Browse files Browse the repository at this point in the history
  • Loading branch information
m-kuhn committed Feb 28, 2019
1 parent c748aac commit 8f29e65
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 8f29e65

Please sign in to comment.