summaryrefslogtreecommitdiffstats
path: root/src/sp-item-notify-moveto.cpp
diff options
context:
space:
mode:
authorDiederik van Lierop <mail@diedenrezi.nl>2007-09-15 08:19:07 +0000
committerdvlierop2 <dvlierop2@users.sourceforge.net>2007-09-15 08:19:07 +0000
commit18bccf196727b9f6726f487e4d021a8b0801a9b7 (patch)
tree49afb3526a085d14b4d83a64501cabb677f755d0 /src/sp-item-notify-moveto.cpp
parentr16583@tres: ted | 2007-09-14 09:15:49 -0700 (diff)
downloadinkscape-18bccf196727b9f6726f487e4d021a8b0801a9b7.tar.gz
inkscape-18bccf196727b9f6726f487e4d021a8b0801a9b7.zip
avoid code duplication, i.e. use sp_item_snappoints in the object-snapper.cpp
(bzr r3752)
Diffstat (limited to 'src/sp-item-notify-moveto.cpp')
-rw-r--r--src/sp-item-notify-moveto.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/sp-item-notify-moveto.cpp b/src/sp-item-notify-moveto.cpp
index 163a9f5f8..7781b15f0 100644
--- a/src/sp-item-notify-moveto.cpp
+++ b/src/sp-item-notify-moveto.cpp
@@ -25,7 +25,7 @@ void sp_item_notify_moveto(SPItem &item, SPGuide const &mv_g, int const snappoin
g_return_if_fail( dir_lensq != 0 );
vector<NR::Point> snappoints;
- sp_item_snappoints(&item, SnapPointsIter(snappoints));
+ sp_item_snappoints(&item, true, SnapPointsIter(snappoints));
g_return_if_fail( snappoint_ix < int(snappoints.size()) );
double const pos0 = dot(dir, snappoints[snappoint_ix]);