Skip to content

Commit

Permalink
higher tolerance for segment snap
Browse files Browse the repository at this point in the history
git-svn-id: http://svn.osgeo.org/qgis/trunk@15742 c8812cc2-4d05-0410-92ff-de0c093fc19c
  • Loading branch information
mhugent committed Apr 17, 2011
1 parent c1a768a commit 65f697a
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/core/qgspoint.cpp
Expand Up @@ -275,7 +275,7 @@ double QgsPoint::sqrDistToSegment( double x1, double y1, double x2, double y2, Q

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 );
Expand Down

0 comments on commit 65f697a

Please sign in to comment.