Skip to content
Permalink
Browse files

Bugfix for vector layer: consider changed geometries also if geometry…

… 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/qgis@9734 c8812cc2-4d05-0410-92ff-de0c093fc19c
  • Loading branch information
mhugent
mhugent committed Dec 3, 2008
1 parent 598a66f commit ac1bc2f2b2daacf8d0b2f3bd0095053eb8529894
Showing with 1 addition and 2 deletions.
  1. +1 −2 src/core/qgsvectorlayer.cpp
@@ -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

0 comments on commit ac1bc2f

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