Skip to content

Commit 8f29e65

Browse files
committed
Take Z values into consideration in avoid duplicate nodes
1 parent c748aac commit 8f29e65

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/core/qgsgeometryoptions.cpp

+1-1
Original file line numberDiff line numberDiff line change
@@ -52,7 +52,7 @@ void QgsGeometryOptions::apply( QgsGeometry &geometry ) const
5252
geometry = geometry.snappedToGrid( mGeometryPrecision, mGeometryPrecision );
5353

5454
if ( mRemoveDuplicateNodes )
55-
geometry.removeDuplicateNodes();
55+
geometry.removeDuplicateNodes( 4 * std::numeric_limits<double>::epsilon(), true );
5656
}
5757

5858
QStringList QgsGeometryOptions::geometryChecks() const

0 commit comments

Comments
 (0)