Skip to content
Permalink
Browse files

fixed problem with iterating over features of memory provider

git-svn-id: http://svn.osgeo.org/qgis/trunk/qgis@8650 c8812cc2-4d05-0410-92ff-de0c093fc19c
  • Loading branch information
wonder
wonder committed Jun 16, 2008
1 parent af4ca87 commit 5984374d99c482ae2db3b9db80676cd312aaf2b0
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 5984374

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