diff options
| author | Diederik van Lierop <mailat-signdiedenrezidotnl> | 2010-02-12 19:46:21 +0000 |
|---|---|---|
| committer | Diederik van Lierop <mailat-signdiedenrezidotnl> | 2010-02-12 19:46:21 +0000 |
| commit | 1bcefc481bd2bf48d228271e48a33c383894d83a (patch) | |
| tree | 1fc898fa7b5ca882e7b9260eca7686303fa3e176 /src/snap.cpp | |
| parent | Constrained snapping: always enforce constraint, even when we didn't snap (diff) | |
| download | inkscape-1bcefc481bd2bf48d228271e48a33c383894d83a.tar.gz inkscape-1bcefc481bd2bf48d228271e48a33c383894d83a.zip | |
Fix compilation error introduced by my previous commit
(bzr r9083)
Diffstat (limited to 'src/snap.cpp')
| -rw-r--r-- | src/snap.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
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 |
