summary | shortlog | log | commit | commitdiff | tree
raw | patch | inline | side by side (parent: 439aa20)
raw | patch | inline | side by side (parent: 439aa20)
author | Diederik van Lierop <mailat-signdiedenrezidotnl> | |
Fri, 12 Feb 2010 19:46:21 +0000 (20:46 +0100) | ||
committer | Diederik van Lierop <mailat-signdiedenrezidotnl> | |
Fri, 12 Feb 2010 19:46:21 +0000 (20:46 +0100) |
src/snap.cpp | patch | blob | history |
diff --git a/src/snap.cpp b/src/snap.cpp
index 3cac53ebe6d74eeb90dac9b01ccb5d93f28c126c..996ec2e2c75a5551fd22dcee788222d9818755eb 100644 (file)
--- 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