From 66a5d8abdc01c524d02064b537d7b0d167b15dda Mon Sep 17 00:00:00 2001 From: Diederik van Lierop Date: Fri, 13 Mar 2009 20:15:31 +0000 Subject: * Implement constrained snapping of knots * Implement snapping of the rectangle's radius handles * Line snappers: set the snap target in the derived class instead of in findBestSnap() (bzr r7479) --- src/snap.cpp | 2 -- 1 file changed, 2 deletions(-) (limited to 'src/snap.cpp') diff --git a/src/snap.cpp b/src/snap.cpp index f6dceedba..130742483 100644 --- a/src/snap.cpp +++ b/src/snap.cpp @@ -814,14 +814,12 @@ Inkscape::SnappedPoint SnapManager::findBestSnap(Geom::Point const &p, Inkscape: // search for the closest snapped grid line Inkscape::SnappedLine closestGridLine; if (getClosestSL(sc.grid_lines, closestGridLine)) { - closestGridLine.setTarget(Inkscape::SNAPTARGET_GRID); sp_list.push_back(Inkscape::SnappedPoint(closestGridLine)); } // search for the closest snapped guide line Inkscape::SnappedLine closestGuideLine; if (getClosestSL(sc.guide_lines, closestGuideLine)) { - closestGuideLine.setTarget(Inkscape::SNAPTARGET_GUIDE); sp_list.push_back(Inkscape::SnappedPoint(closestGuideLine)); } -- cgit v1.2.3