diff options
| author | Diederik van Lierop <mail@diedenrezi.nl> | 2008-05-04 16:27:08 +0000 |
|---|---|---|
| committer | dvlierop2 <dvlierop2@users.sourceforge.net> | 2008-05-04 16:27:08 +0000 |
| commit | 8dffa3e5ef1f8c53211bfa9e45aa5c2bcd589b3f (patch) | |
| tree | 09e3531c7e1db43a75fc912bb95aa5ed35fa87fc /src/line-snapper.cpp | |
| parent | Remove warnings (diff) | |
| download | inkscape-8dffa3e5ef1f8c53211bfa9e45aa5c2bcd589b3f.tar.gz inkscape-8dffa3e5ef1f8c53211bfa9e45aa5c2bcd589b3f.zip | |
Next steps in implementing the snapping indicator
(bzr r5600)
Diffstat (limited to 'src/line-snapper.cpp')
| -rw-r--r-- | src/line-snapper.cpp | 4 |
1 files changed, 3 insertions, 1 deletions
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 } } } |
