Skip to content

Commit

Permalink
fixed problem with iterating over features of memory provider
Browse files Browse the repository at this point in the history
git-svn-id: http://svn.osgeo.org/qgis/trunk/qgis@8650 c8812cc2-4d05-0410-92ff-de0c093fc19c
  • Loading branch information
wonder committed Jun 16, 2008
1 parent af4ca87 commit 5984374
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/providers/memory/memoryprovider.cpp
Expand Up @@ -68,7 +68,7 @@ bool QgsMemoryProvider::getNextFeature(QgsFeature& feature)
else else
{ {
// TODO: could use some less accurate test when not using mSelectUseIntersect (e.g. spatial index) // TODO: could use some less accurate test when not using mSelectUseIntersect (e.g. spatial index)
if (feature.geometry()->intersects(mSelectRect)) if (mSelectIterator->geometry()->intersects(mSelectRect))
{ {
hasFeature = TRUE; hasFeature = TRUE;
break; break;
Expand Down

0 comments on commit 5984374

Please sign in to comment.