From 86f80d1c9bd6cc3716c049da3d8c94887211648e Mon Sep 17 00:00:00 2001 From: Diederik van Lierop Date: Sat, 7 Mar 2009 20:47:00 +0000 Subject: - When finalizing a curve by double clicking then don't snap to the curve itself - When a node and an intersection coincide then snap to the node, not the intersection (but only if snapping is turned on for both of them of course) (bzr r7438) --- src/object-snapper.cpp | 3 +++ 1 file changed, 3 insertions(+) (limited to 'src/object-snapper.cpp') diff --git a/src/object-snapper.cpp b/src/object-snapper.cpp index 3d06925a1..0223ee132 100644 --- a/src/object-snapper.cpp +++ b/src/object-snapper.cpp @@ -161,6 +161,9 @@ void Inkscape::ObjectSnapper::_findCandidates(SPObject* parent, if (bbox_to_snap_incl.intersects(*bbox_of_item)) { // This item is within snapping range, so record it as a candidate _candidates->push_back(SnapCandidate(item, clip_or_mask, additional_affine)); + // For debugging: print the id of the candidate to the console + // SPObject *obj = (SPObject*)item; + // std::cout << "Snap candidate added: " << obj->id << std::endl; } } } -- cgit v1.2.3