Skip to content

Commit

Permalink
fix #3987
Browse files Browse the repository at this point in the history
  • Loading branch information
jef-n authored and timlinux committed Sep 22, 2011
1 parent 5f7a92e commit f780d70
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/providers/ogr/qgsogrprovider.cpp
Expand Up @@ -505,7 +505,7 @@ bool QgsOgrProvider::nextFeature( QgsFeature& feature )
OGRFeatureH fet;
QgsRectangle selectionRect;

setRelevantFields( mFetchGeom, mAttributesToFetch );
setRelevantFields( mFetchGeom || mUseIntersect, mAttributesToFetch );

while (( fet = OGR_L_GetNextFeature( ogrLayer ) ) != NULL )
{
Expand Down

0 comments on commit f780d70

Please sign in to comment.