From 8dffa3e5ef1f8c53211bfa9e45aa5c2bcd589b3f Mon Sep 17 00:00:00 2001 From: Diederik van Lierop Date: Sun, 4 May 2008 16:27:08 +0000 Subject: Next steps in implementing the snapping indicator (bzr r5600) --- src/line-snapper.cpp | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) (limited to 'src/line-snapper.cpp') diff --git a/src/line-snapper.cpp b/src/line-snapper.cpp index efa6762b2..8fdf936ed 100644 --- a/src/line-snapper.cpp +++ b/src/line-snapper.cpp @@ -97,7 +97,9 @@ 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, dist, getSnapperTolerance(), getSnapperAlwaysSnap())); + sc.points.push_back(SnappedPoint(t, Inkscape::SNAPTARGET_UNDEFINED, dist, getSnapperTolerance(), getSnapperAlwaysSnap())); + // 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