Skip to content

Commit 8b512ce

Browse files
author
wonder
committedJun 16, 2008
fixed problem with iterating over features of memory provider
git-svn-id: http://svn.osgeo.org/qgis/trunk@8650 c8812cc2-4d05-0410-92ff-de0c093fc19c
1 parent 0fa8024 commit 8b512ce

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed
 

‎src/providers/memory/memoryprovider.cpp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -68,7 +68,7 @@ bool QgsMemoryProvider::getNextFeature(QgsFeature& feature)
6868
else
6969
{
7070
// TODO: could use some less accurate test when not using mSelectUseIntersect (e.g. spatial index)
71-
if (feature.geometry()->intersects(mSelectRect))
71+
if (mSelectIterator->geometry()->intersects(mSelectRect))
7272
{
7373
hasFeature = TRUE;
7474
break;

0 commit comments

Comments
 (0)
Please sign in to comment.