Skip to content

Commit

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

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

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

0 comments on commit 0d91c81

Please sign in to comment.