diff options
| author | Diederik van Lierop <mail@diedenrezi.nl> | 2008-05-16 21:53:27 +0000 |
|---|---|---|
| committer | dvlierop2 <dvlierop2@users.sourceforge.net> | 2008-05-16 21:53:27 +0000 |
| commit | a6f2609902125fe035cba64cc9431b0e83d9ab30 (patch) | |
| tree | 875773d5d31c34343c0e00966583eea6f66c7936 /src/draw-context.cpp | |
| parent | * share/extensions/Makefile.am: Don't run make in the Poly3DObjects (diff) | |
| download | inkscape-a6f2609902125fe035cba64cc9431b0e83d9ab30.tar.gz inkscape-a6f2609902125fe035cba64cc9431b0e83d9ab30.zip | |
Fix a regression in the snapper, caused by me. Sorry!
(bzr r5680)
Diffstat (limited to 'src/draw-context.cpp')
| -rw-r--r-- | src/draw-context.cpp | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/draw-context.cpp b/src/draw-context.cpp index f4d7a8569..9a2c1215c 100644 --- a/src/draw-context.cpp +++ b/src/draw-context.cpp @@ -356,7 +356,7 @@ void spdc_endpoint_snap_rotation(SPEventContext const *const ec, NR::Point &p, N /* Snap it along best vector */ SnapManager &m = SP_EVENT_CONTEXT_DESKTOP(ec)->namedview->snap_manager; m.setup(SP_EVENT_CONTEXT_DESKTOP(ec), NULL); - m.constrainedSnap( Inkscape::Snapper::SNAPPOINT_NODE, p, Inkscape::Snapper::ConstraintLine(best)); + m.constrainedSnapReturnByRef( Inkscape::Snapper::SNAPPOINT_NODE, p, Inkscape::Snapper::ConstraintLine(best)); } } @@ -370,7 +370,7 @@ void spdc_endpoint_snap_free(SPEventContext const * const ec, NR::Point& p, guin SnapManager &m = SP_EVENT_CONTEXT_DESKTOP(ec)->namedview->snap_manager; m.setup(SP_EVENT_CONTEXT_DESKTOP(ec), NULL); - m.freeSnap(Inkscape::Snapper::SNAPPOINT_NODE, p); + m.freeSnapReturnByRef(Inkscape::Snapper::SNAPPOINT_NODE, p); } static SPCurve * |
