Code

Remove some left-over debugging output that got accidentally committed
authordvlierop2 <dvlierop2@users.sourceforge.net>
Wed, 1 Apr 2009 19:18:46 +0000 (19:18 +0000)
committerdvlierop2 <dvlierop2@users.sourceforge.net>
Wed, 1 Apr 2009 19:18:46 +0000 (19:18 +0000)
src/object-snapper.cpp

index 0ec1a7ba51992c28803a8b3ede7e57bb26bb67bd..d47dc86470fe7cd8b27b42edd1564e8b60715174 100644 (file)
@@ -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);