File tree Expand file tree Collapse file tree 1 file changed +6
-3
lines changed Expand file tree Collapse file tree 1 file changed +6
-3
lines changed Original file line number Diff line number Diff line change @@ -133,9 +133,12 @@ bool QgsAfsFeatureIterator::fetchFeature( QgsFeature &f )
133
133
134
134
mDeferredFeaturesInFilterRectCheck = false ;
135
135
136
- // discard the filter rect - we know that the features in mRemainingFeatureIds are guaranteed
137
- // to be intersecting the rect, so avoid any extra unnecessary checks
138
- mFilterRect = QgsRectangle ();
136
+ if ( !( mRequest .flags () & QgsFeatureRequest::ExactIntersect ) )
137
+ {
138
+ // discard the filter rect - we know that the features in mRemainingFeatureIds are guaranteed
139
+ // to be intersecting the rect, so avoid any extra unnecessary checks
140
+ mFilterRect = QgsRectangle ();
141
+ }
139
142
}
140
143
141
144
if ( !mFeatureIdList .empty () && mRemainingFeatureIds .empty () )
You can’t perform that action at this time.
0 commit comments