From 47c50adbeeec2aeaf7a9439a79eb13ca722a0bc1 Mon Sep 17 00:00:00 2001 From: Diederik van Lierop Date: Fri, 12 Feb 2010 20:46:21 +0100 Subject: [PATCH] Fix compilation error introduced by my previous commit --- src/snap.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/snap.cpp b/src/snap.cpp index 3cac53ebe..996ec2e2c 100644 --- a/src/snap.cpp +++ b/src/snap.cpp @@ -359,7 +359,7 @@ Inkscape::SnappedPoint SnapManager::constrainedSnap(Inkscape::SnapCandidatePoint if (!someSnapperMightSnap()) { // The constraint should always be enforce, so we return pp here instead of p - return Inkscape::SnappedPoint(pp, Inkscape::SNAPTARGET_UNDEFINED, NR_HUGE, 0, false, false); + return Inkscape::SnappedPoint(pp, p.getSourceType(), p.getSourceNum(), Inkscape::SNAPTARGET_UNDEFINED, NR_HUGE, 0, false, false); } // Then try to snap the projected point -- 2.30.2