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@8650 c8812cc2-4d05-0410-92ff-de0c093fc19c
  • Loading branch information
wonder committed Jun 16, 2008
1 parent 0fa8024 commit 8b512ce
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
{
// 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;
break;
Expand Down

0 comments on commit 8b512ce

Please sign in to comment.