mirror of
https://github.com/qgis/QGIS.git
synced 2025-03-02 00:02:12 -05:00
[afs] Fix identify tool sometimes just uses a bounding box check instead of exact intersection
This commit is contained in:
parent
fc5f707b0f
commit
bb248989b3
@ -133,9 +133,12 @@ bool QgsAfsFeatureIterator::fetchFeature( QgsFeature &f )
|
||||
|
||||
mDeferredFeaturesInFilterRectCheck = false;
|
||||
|
||||
// discard the filter rect - we know that the features in mRemainingFeatureIds are guaranteed
|
||||
// to be intersecting the rect, so avoid any extra unnecessary checks
|
||||
mFilterRect = QgsRectangle();
|
||||
if ( !( mRequest.flags() & QgsFeatureRequest::ExactIntersect ) )
|
||||
{
|
||||
// discard the filter rect - we know that the features in mRemainingFeatureIds are guaranteed
|
||||
// to be intersecting the rect, so avoid any extra unnecessary checks
|
||||
mFilterRect = QgsRectangle();
|
||||
}
|
||||
}
|
||||
|
||||
if ( !mFeatureIdList.empty() && mRemainingFeatureIds.empty() )
|
||||
|
Loading…
x
Reference in New Issue
Block a user