summaryrefslogtreecommitdiffstats
path: root/src/snap.cpp
diff options
context:
space:
mode:
authorDiederik van Lierop <mail@diedenrezi.nl>2008-12-30 18:19:04 +0000
committerdvlierop2 <dvlierop2@users.sourceforge.net>2008-12-30 18:19:04 +0000
commitc59557d2dc0fd9f2a0945e776e90b1db3ee25ff7 (patch)
treeb495e65d27d7cb350a786db5bc2661b07ee48ebc /src/snap.cpp
parentRemove utest. (diff)
downloadinkscape-c59557d2dc0fd9f2a0945e776e90b1db3ee25ff7.tar.gz
inkscape-c59557d2dc0fd9f2a0945e776e90b1db3ee25ff7.zip
Remove some obsolete from_2geom() calls
(bzr r7043)
Diffstat (limited to 'src/snap.cpp')
-rw-r--r--src/snap.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/snap.cpp b/src/snap.cpp
index ac2f1321c..a6c4b8729 100644
--- a/src/snap.cpp
+++ b/src/snap.cpp
@@ -204,7 +204,7 @@ Geom::Point SnapManager::multipleOfGridPitch(Geom::Point const &t) const
// will use the grid snapper. Simply snapping the value t to the grid will do, but
// only if the origin of the grid is at (0,0). If it's not then compensate for this
// in the translation t
- Geom::Point const t_offset = from_2geom(t) + grid->origin;
+ Geom::Point const t_offset = t + grid->origin;
SnappedConstraints sc;
// Only the first three parameters are being used for grid snappers
snapper->freeSnap(sc, Inkscape::SnapPreferences::SNAPPOINT_NODE, t_offset, TRUE, Geom::OptRect(), NULL, NULL);