Skip to content
Permalink
Browse files

fixed problem with iterating over features of memory provider

git-svn-id: http://svn.osgeo.org/qgis/trunk@8650 c8812cc2-4d05-0410-92ff-de0c093fc19c
  • Loading branch information
wonder
wonder committed Jun 16, 2008
1 parent 0fa8024 commit 8b512cea3997259df1808e69586057e35d6c20d9
Showing with 1 addition and 1 deletion.
  1. +1 −1 src/providers/memory/memoryprovider.cpp
@@ -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;

0 comments on commit 8b512ce

Please sign in to comment.
You can’t perform that action at this time.