summaryrefslogtreecommitdiffstats
path: root/src/snap.cpp
diff options
context:
space:
mode:
authorDiederik van Lierop <mail@diedenrezi.nl>2009-03-13 20:15:31 +0000
committerdvlierop2 <dvlierop2@users.sourceforge.net>2009-03-13 20:15:31 +0000
commit66a5d8abdc01c524d02064b537d7b0d167b15dda (patch)
tree0101736dd4665e61682f965fc76d54c60779ceb7 /src/snap.cpp
parentremove desktop-affine.h and refactor sp_desktop_dt2doc_* calls (diff)
downloadinkscape-66a5d8abdc01c524d02064b537d7b0d167b15dda.tar.gz
inkscape-66a5d8abdc01c524d02064b537d7b0d167b15dda.zip
* 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)
Diffstat (limited to 'src/snap.cpp')
-rw-r--r--src/snap.cpp2
1 files changed, 0 insertions, 2 deletions
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));
}