summary | shortlog | log | commit | commitdiff | tree
raw | patch | inline | side by side (parent: 7be2ab9)
raw | patch | inline | side by side (parent: 7be2ab9)
author | dvlierop2 <dvlierop2@users.sourceforge.net> | |
Wed, 1 Apr 2009 19:18:46 +0000 (19:18 +0000) | ||
committer | dvlierop2 <dvlierop2@users.sourceforge.net> | |
Wed, 1 Apr 2009 19:18:46 +0000 (19:18 +0000) |
src/object-snapper.cpp | patch | blob | history |
diff --git a/src/object-snapper.cpp b/src/object-snapper.cpp
index 0ec1a7ba51992c28803a8b3ede7e57bb26bb67bd..d47dc86470fe7cd8b27b42edd1564e8b60715174 100644 (file)
--- a/src/object-snapper.cpp
+++ b/src/object-snapper.cpp
@@ -305,7 +305,6 @@ void Inkscape::ObjectSnapper::_snapTranslatingGuideToNodes(SnappedConstraints &s
Geom::Point p_proj = Geom::projection((*k).first, Geom::Line(p, p + Geom::rot90(guide_normal)));
Geom::Coord dist = Geom::L2((*k).first - p_proj); // distance from node to the guide
Geom::Coord dist2 = Geom::L2(p - p_proj); // distance from projection of node on the guide, to the mouse location
- std::cout << "d1 = " << dist << " | d2 = " << dist2 << " | tol = " << tol << std::endl;
if ((dist < tol && dist2 < tol) || getSnapperAlwaysSnap()) {
s = SnappedPoint((*k).first, SNAPSOURCE_GUIDE, static_cast<Inkscape::SnapTargetType>((*k).second), dist, tol, getSnapperAlwaysSnap(), true);
sc.points.push_back(s);