summaryrefslogtreecommitdiffstats
path: root/src/snap-preferences.cpp
diff options
context:
space:
mode:
authorDiederik van Lierop <mail@diedenrezi.nl>2011-09-18 17:09:29 +0000
committerDiederik van Lierop <mail@diedenrezi.nl>2011-09-18 17:09:29 +0000
commit344d9e8077c05b86e7d423b5db163b3e3e541032 (patch)
tree1734ecbec437e8d5d381989dc499d49fc656f859 /src/snap-preferences.cpp
parentGerman translation update (diff)
downloadinkscape-344d9e8077c05b86e7d423b5db163b3e3e541032.tar.gz
inkscape-344d9e8077c05b86e7d423b5db163b3e3e541032.zip
Snap to guide-path intersections, and don't snap to paths when only path intersections are asked for
Fixed bugs: - https://launchpad.net/bugs/847457 - https://launchpad.net/bugs/850982 (bzr r10639)
Diffstat (limited to 'src/snap-preferences.cpp')
-rw-r--r--src/snap-preferences.cpp2
1 files changed, 2 insertions, 0 deletions
diff --git a/src/snap-preferences.cpp b/src/snap-preferences.cpp
index fa5903c37..25e00718c 100644
--- a/src/snap-preferences.cpp
+++ b/src/snap-preferences.cpp
@@ -147,6 +147,8 @@ void Inkscape::SnapPreferences::_mapTargetToArrayIndex(Inkscape::SnapTargetType
target = SNAPTARGET_NODE_CUSP;
} else if (target == SNAPTARGET_ELLIPSE_QUADRANT_POINT) {
target = SNAPTARGET_NODE_SMOOTH;
+ } else if (target == SNAPTARGET_PATH_GUIDE_INTERSECTION) {
+ target = SNAPTARGET_PATH_INTERSECTION;
}