summaryrefslogtreecommitdiffstats
path: root/src/object-edit.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/object-edit.cpp')
-rw-r--r--src/object-edit.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/object-edit.cpp b/src/object-edit.cpp
index 3d4aaae39..0abf84a1f 100644
--- a/src/object-edit.cpp
+++ b/src/object-edit.cpp
@@ -224,7 +224,7 @@ static NR::Point snap_knot_position(SPItem *item, NR::Point const &p)
NR::Point s = p * i2d;
SnapManager &m = desktop->namedview->snap_manager;
m.setup(desktop, item);
- s = m.freeSnap(Inkscape::Snapper::SNAPPOINT_NODE, s).getPoint();
+ m.freeSnap(Inkscape::Snapper::SNAPPOINT_NODE, s);
return s * i2d.inverse();
}