summaryrefslogtreecommitdiffstats
path: root/src/snapped-point.cpp
diff options
context:
space:
mode:
authorDiederik van Lierop <mail@diedenrezi.nl>2011-08-22 20:27:25 +0000
committerDiederik van Lierop <mail@diedenrezi.nl>2011-08-22 20:27:25 +0000
commit458c1a2a8f34a342d2728b144592110a65b4c2d1 (patch)
treec268d391e8e3c1901188bb906c7b025f7ef342ad /src/snapped-point.cpp
parentUse different icons to communicate the change in behavior of the snap buttons... (diff)
downloadinkscape-458c1a2a8f34a342d2728b144592110a65b4c2d1.tar.gz
inkscape-458c1a2a8f34a342d2728b144592110a65b4c2d1.zip
Fix snap bug #816044
Fixed bugs: - https://launchpad.net/bugs/816044 (bzr r10572)
Diffstat (limited to 'src/snapped-point.cpp')
-rw-r--r--src/snapped-point.cpp4
1 files changed, 4 insertions, 0 deletions
diff --git a/src/snapped-point.cpp b/src/snapped-point.cpp
index 2db3d62e4..a777e4dc0 100644
--- a/src/snapped-point.cpp
+++ b/src/snapped-point.cpp
@@ -131,6 +131,10 @@ bool Inkscape::SnappedPoint::isOtherSnapBetter(Inkscape::SnappedPoint const &oth
return false;
}
+ if (!getSnapped() && other_one.getSnapped()) {
+ return true;
+ }
+
double dist_other = other_one.getSnapDistance();
double dist_this = getSnapDistance();