summaryrefslogtreecommitdiffstats
path: root/src/draw-context.cpp
diff options
context:
space:
mode:
authorCarl Hetherington <cth@carlh.net>2006-05-05 14:22:41 +0000
committercth103 <cth103@users.sourceforge.net>2006-05-05 14:22:41 +0000
commitb0bda995cebf5befd80a735796661fb670eca179 (patch)
tree374d96842b1befddde6bb2dc503b1700535982b2 /src/draw-context.cpp
parentremove overdefinition (diff)
downloadinkscape-b0bda995cebf5befd80a735796661fb670eca179.tar.gz
inkscape-b0bda995cebf5befd80a735796661fb670eca179.zip
Various snapping cleanups and bug fixes.
(bzr r734)
Diffstat (limited to 'src/draw-context.cpp')
-rw-r--r--src/draw-context.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/draw-context.cpp b/src/draw-context.cpp
index aa1480c67..75ded20f5 100644
--- a/src/draw-context.cpp
+++ b/src/draw-context.cpp
@@ -374,7 +374,7 @@ void spdc_endpoint_snap_rotation(SPEventContext const *const ec, NR::Point &p, N
/* Snap it along best vector */
SnapManager const &m = SP_EVENT_CONTEXT_DESKTOP(ec)->namedview->snap_manager;
p = m.constrainedSnap(Inkscape::Snapper::SNAP_POINT | Inkscape::Snapper::BBOX_POINT,
- p, best, NULL).getPoint();
+ p, Inkscape::Snapper::ConstraintLine(best), NULL).getPoint();
}
}