diff options
| author | Diederik van Lierop <mail@diedenrezi.nl> | 2008-09-21 20:18:04 +0000 |
|---|---|---|
| committer | dvlierop2 <dvlierop2@users.sourceforge.net> | 2008-09-21 20:18:04 +0000 |
| commit | 745fa4a5aab9b699415a7278e6dda37ba181ace0 (patch) | |
| tree | 52d64e0a6177d2d8fae19af6e67262190dace9a1 /src/line-snapper.cpp | |
| parent | fix crash: connections were not disconnected on destruction (diff) | |
| download | inkscape-745fa4a5aab9b699415a7278e6dda37ba181ace0.tar.gz inkscape-745fa4a5aab9b699415a7278e6dda37ba181ace0.zip | |
- refactor snapping code, removing code duplication
- fix snapping to page corners
(bzr r6863)
Diffstat (limited to 'src/line-snapper.cpp')
| -rw-r--r-- | src/line-snapper.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
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 } |
