Skip to content

Commit

Permalink
setInvalidGeometryCheck on the request
Browse files Browse the repository at this point in the history
  • Loading branch information
elpaso committed Oct 18, 2018
1 parent 5393df8 commit 89058ba
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions src/analysis/processing/qgsoverlayutils.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -92,6 +92,7 @@ void QgsOverlayUtils::difference( const QgsFeatureSource &sourceA, const QgsFeat

QgsFeature featA;
QgsFeatureRequest requestA;
requestA.setInvalidGeometryCheck( context.invalidGeometryCheck() );
if ( outputAttrs == OutputBA )
requestA.setDestinationCrs( sourceB.sourceCrs(), context.transformContext() );
QgsFeatureIterator fitA = sourceA.getFeatures( requestA );
Expand Down

0 comments on commit 89058ba

Please sign in to comment.