Skip to content
Permalink
Browse files
apply patch #3280 from Jeremy Palmer
git-svn-id: http://svn.osgeo.org/qgis/trunk/qgis@14826 c8812cc2-4d05-0410-92ff-de0c093fc19c
  • Loading branch information
borysiasty committed Dec 2, 2010
1 parent b14e559 commit 848cc82
Showing 1 changed file with 8 additions and 2 deletions.
@@ -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 848cc82

Please sign in to comment.