Skip to content

Commit

Permalink
Bugfix for vector layer: consider changed geometries also if geometry…
Browse files Browse the repository at this point in the history
… itself is not copied to the features in getNextFeatures. It is necessary to correctly decide which geometries are intersecting a rectangle

git-svn-id: http://svn.osgeo.org/qgis/trunk@9734 c8812cc2-4d05-0410-92ff-de0c093fc19c
  • Loading branch information
mhugent committed Dec 3, 2008
1 parent 6cf8df6 commit 5c75e96
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions src/core/qgsvectorlayer.cpp
Expand Up @@ -1164,8 +1164,7 @@ void QgsVectorLayer::select( QgsAttributeList attributes, QgsRectangle rect, boo
if ( mEditable )
{
mFetchAddedFeaturesIt = mAddedFeatures.begin();
if ( mFetchGeometry )
mFetchChangedGeomIt = mChangedGeometries.begin();
mFetchChangedGeomIt = mChangedGeometries.begin();
}

//look in the normal features of the provider
Expand Down

0 comments on commit 5c75e96

Please sign in to comment.