[QGIS Commit] r15742 - trunk/qgis/src/core
svn_qgis at osgeo.org
svn_qgis at osgeo.org
Sun Apr 17 06:52:18 EDT 2011
Author: mhugent
Date: 2011-04-17 03:52:18 -0700 (Sun, 17 Apr 2011)
New Revision: 15742
Modified:
trunk/qgis/src/core/qgspoint.cpp
Log:
higher tolerance for segment snap
Modified: trunk/qgis/src/core/qgspoint.cpp
===================================================================
--- trunk/qgis/src/core/qgspoint.cpp 2011-04-17 10:01:42 UTC (rev 15741)
+++ trunk/qgis/src/core/qgspoint.cpp 2011-04-17 10:52:18 UTC (rev 15742)
@@ -275,7 +275,7 @@
double dist = sqrDist( minDistPoint );
//prevent rounding errors if the point is directly on the segment
- if ( doubleNear( dist, 0.0, 0.000000001 ) )
+ if ( doubleNear( dist, 0.0, 0.00000001 ) )
{
minDistPoint.setX( m_x );
minDistPoint.setY( m_y );
More information about the QGIS-commit
mailing list