mirror of
https://github.com/qgis/QGIS.git
synced 2025-04-10 00:05:25 -04:00
apply patch #3280 from Jeremy Palmer
git-svn-id: http://svn.osgeo.org/qgis/trunk@14826 c8812cc2-4d05-0410-92ff-de0c093fc19c
This commit is contained in:
parent
eb5f4912a8
commit
16f326f0af
@ -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 )
|
||||
{
|
||||
|
Loading…
x
Reference in New Issue
Block a user