[QGIS Commit] r14824 - trunk/qgis/src/providers/delimitedtext

svn_qgis at osgeo.org svn_qgis at osgeo.org
Wed Dec 1 23:25:59 EST 2010


Author: gsherman
Date: 2010-12-01 20:25:59 -0800 (Wed, 01 Dec 2010)
New Revision: 14824

Modified:
   trunk/qgis/src/providers/delimitedtext/qgsdelimitedtextprovider.cpp
Log:
Applied patch to correct selection issue (ticket #3259)

Modified: trunk/qgis/src/providers/delimitedtext/qgsdelimitedtextprovider.cpp
===================================================================
--- trunk/qgis/src/providers/delimitedtext/qgsdelimitedtextprovider.cpp	2010-12-01 22:11:20 UTC (rev 14823)
+++ trunk/qgis/src/providers/delimitedtext/qgsdelimitedtextprovider.cpp	2010-12-02 04:25:59 UTC (rev 14824)
@@ -655,7 +655,8 @@
   if ( mSelectionRectangle.isEmpty() || !mFetchGeom )
     return true;
 
-  return geom->boundingBox().intersects( mSelectionRectangle );
+  return geom->boundingBox().intersects( mSelectionRectangle )
+	     && geom->intersects(mSelectionRectangle);;
 }
 
 int QgsDelimitedTextProvider::capabilities() const



More information about the QGIS-commit mailing list