Code

support for 5 point spline (Bug 685707)
[inkscape.git] / src / snapped-point.cpp
index 8f774f793dbaa3b69a5d17a922f606cabe6f63d8..52f0a7839b0468c10035ed913711822124733bdd 100644 (file)
@@ -127,7 +127,7 @@ bool getClosestSP(std::list<Inkscape::SnappedPoint> const &list, Inkscape::Snapp
 bool Inkscape::SnappedPoint::isOtherSnapBetter(Inkscape::SnappedPoint const &other_one, bool weighted) const
 {
 
-    if (!other_one.getSnapped()) {
+    if (getSnapped() && !other_one.getSnapped()) {
         return false;
     }