Skip to content
Permalink
Browse files

Precision fix

  • Loading branch information
m-kuhn committed Oct 1, 2018
1 parent 6a94033 commit fe5a80c843b9fc4f230c85636a7afa2c61fcbeb5
Showing with 1 addition and 1 deletion.
  1. +1 −1 src/app/qgsgeometryvalidationservice.cpp
@@ -129,7 +129,7 @@ void QgsGeometryValidationService::enableLayerChecks( QgsVectorLayer *layer )
qDeleteAll( mLayerCheckStates[layer].topologyChecks );

// TODO: ownership and lifetime of the context!!
auto context = new QgsGeometryCheckContext( 8, mProject->crs(), mProject->transformContext() );
auto context = new QgsGeometryCheckContext( log10( layer->geometryOptions()->geometryPrecision() ) * -1, mProject->crs(), mProject->transformContext() );
QList<QgsGeometryCheck *> layerChecks;

QgsGeometryCheckRegistry *checkRegistry = QgsAnalysis::instance()->geometryCheckRegistry();

0 comments on commit fe5a80c

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