From 1512a076f4d28bd3f9b5eec084707b386ff964e6 Mon Sep 17 00:00:00 2001 From: Diederik van Lierop Date: Sun, 9 May 2010 21:02:14 +0200 Subject: Fix small snapping regression (reported in LP #562205, comment #11) (bzr r9405) --- src/snapped-point.cpp | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'src/snapped-point.cpp') diff --git a/src/snapped-point.cpp b/src/snapped-point.cpp index f598cc624..48efa10e6 100644 --- a/src/snapped-point.cpp +++ b/src/snapped-point.cpp @@ -170,10 +170,10 @@ bool Inkscape::SnappedPoint::isOtherSnapBetter(Inkscape::SnappedPoint const &oth // When snapping to a constraint line only, which is not really a snap but merely a projection // to the constraint line, then give this snap a very low priority. Basically, any other snap will do if (other_one.getTarget() == SNAPTARGET_CONSTRAINT) { - dist_other += NR_HUGE/2; + dist_other += 1e6; } if (getTarget() == SNAPTARGET_CONSTRAINT) { - dist_this += NR_HUGE/2; + dist_this += 1e6; } // If it's closer -- cgit v1.2.3