Code

fix bug when editing endnodes
authorbuliabyak <buliabyak@users.sourceforge.net>
Wed, 7 May 2008 15:38:07 +0000 (15:38 +0000)
committerbuliabyak <buliabyak@users.sourceforge.net>
Wed, 7 May 2008 15:38:07 +0000 (15:38 +0000)
src/nodepath.cpp

index 8e2cd8e82892bee1c6c2e8ad7e1802ccfadeb38e..d50ec769e311ced918c45c8730042169eac6b890 100644 (file)
@@ -3680,6 +3680,8 @@ static gboolean node_handle_request(SPKnot *knot, NR::Point *p, guint /*state*/,
         } else {
             s = m.freeSnap(Inkscape::Snapper::SNAPPOINT_NODE, *p);
         }
+    } else {
+        s = m.freeSnap(Inkscape::Snapper::SNAPPOINT_NODE, *p);
     }
     
     *p = s.getPoint();