From: Diederik van Lierop Date: Fri, 12 Feb 2010 19:46:21 +0000 (+0100) Subject: Fix compilation error introduced by my previous commit X-Git-Url: https://git.tokkee.org/?p=inkscape.git;a=commitdiff_plain;h=47c50adbeeec2aeaf7a9439a79eb13ca722a0bc1 Fix compilation error introduced by my previous commit --- 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