diff options
| author | Diederik van Lierop <mail@diedenrezi.nl> | 2009-03-07 20:47:00 +0000 |
|---|---|---|
| committer | dvlierop2 <dvlierop2@users.sourceforge.net> | 2009-03-07 20:47:00 +0000 |
| commit | 86f80d1c9bd6cc3716c049da3d8c94887211648e (patch) | |
| tree | bed9547bd809863fa7c66af9ec1f1c654f1f8b54 /src/object-snapper.cpp | |
| parent | Snap indicators and filters, mainly... (diff) | |
| download | inkscape-86f80d1c9bd6cc3716c049da3d8c94887211648e.tar.gz inkscape-86f80d1c9bd6cc3716c049da3d8c94887211648e.zip | |
- 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)
Diffstat (limited to 'src/object-snapper.cpp')
| -rw-r--r-- | src/object-snapper.cpp | 3 |
1 files changed, 3 insertions, 0 deletions
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; } } } |
