From b0bda995cebf5befd80a735796661fb670eca179 Mon Sep 17 00:00:00 2001 From: Carl Hetherington Date: Fri, 5 May 2006 14:22:41 +0000 Subject: Various snapping cleanups and bug fixes. (bzr r734) --- src/draw-context.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src/draw-context.cpp') 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(); } } -- cgit v1.2.3