From 745fa4a5aab9b699415a7278e6dda37ba181ace0 Mon Sep 17 00:00:00 2001 From: Diederik van Lierop Date: Sun, 21 Sep 2008 20:18:04 +0000 Subject: - refactor snapping code, removing code duplication - fix snapping to page corners (bzr r6863) --- src/line-snapper.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src/line-snapper.cpp') diff --git a/src/line-snapper.cpp b/src/line-snapper.cpp index 5453c1cf2..b2934c2e3 100644 --- a/src/line-snapper.cpp +++ b/src/line-snapper.cpp @@ -97,7 +97,7 @@ void Inkscape::LineSnapper::constrainedSnap(SnappedConstraints &sc, // This snappoint is therefore fully constrained, so there's no need // to look for additional intersections; just return the snapped point // and forget about the line - sc.points.push_back(SnappedPoint(t, Inkscape::SNAPTARGET_UNDEFINED, dist, getSnapperTolerance(), getSnapperAlwaysSnap())); + sc.points.push_back(SnappedPoint(t, Inkscape::SNAPTARGET_UNDEFINED, dist, getSnapperTolerance(), getSnapperAlwaysSnap(), true)); // The type of the snap target is yet undefined, as we cannot tell whether // we're snapping to grid or the guide lines; must be set by on a higher level } -- cgit v1.2.3