Skip to content
Permalink
Browse files

apply patch #3280 from Jeremy Palmer

git-svn-id: http://svn.osgeo.org/qgis/trunk@14826 c8812cc2-4d05-0410-92ff-de0c093fc19c
  • Loading branch information
borysiasty
borysiasty committed Dec 2, 2010
1 parent eb5f491 commit 16f326f0af1e74257c22d097951a5e828bcf3207
Showing with 8 additions and 2 deletions.
  1. +8 −2 src/app/qgsmaptoolselectutils.cpp
@@ -135,9 +135,15 @@ void QgsMapToolSelectUtils::setSelectFeatures( QgsMapCanvas* canvas,
while( vlayer->nextFeature( f ) )
{
QgsGeometry* g = f.geometry();
if( doContains && !selectGeomTrans.contains( g ) )
if( doContains )
{
continue;
if ( !selectGeomTrans.contains( g ) )
continue;
}
else
{
if ( !selectGeomTrans.intersects( g ) )
continue;
}
if( singleSelect )
{

0 comments on commit 16f326f

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