mirror of
https://github.com/qgis/QGIS.git
synced 2025-03-10 00:13:55 -04:00
Precision fix
This commit is contained in:
parent
6a94033487
commit
fe5a80c843
@ -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();
|
||||
|
Loading…
x
Reference in New Issue
Block a user