diff options
| author | Diederik van Lierop <mail@diedenrezi.nl> | 2011-09-17 12:08:49 +0000 |
|---|---|---|
| committer | Diederik van Lierop <mail@diedenrezi.nl> | 2011-09-17 12:08:49 +0000 |
| commit | f0fa8577f48a7b0ddb285764404be316855d2e83 (patch) | |
| tree | ff89b969ff17fa0a438df5233aacbc884452608b /src/snap.cpp | |
| parent | Make zero deviation Gaussian blur conform to the SVG specification. (diff) | |
| download | inkscape-f0fa8577f48a7b0ddb285764404be316855d2e83.tar.gz inkscape-f0fa8577f48a7b0ddb285764404be316855d2e83.zip | |
Make "snap page border" toggle independent of "snap paths" toggle
Fixed bugs:
- https://launchpad.net/bugs/850982
(bzr r10635)
Diffstat (limited to 'src/snap.cpp')
| -rw-r--r-- | src/snap.cpp | 8 |
1 files changed, 3 insertions, 5 deletions
diff --git a/src/snap.cpp b/src/snap.cpp index ac2abd63b..631704b5c 100644 --- a/src/snap.cpp +++ b/src/snap.cpp @@ -1167,11 +1167,9 @@ Inkscape::SnappedPoint SnapManager::findBestSnap(Inkscape::SnapCandidatePoint co } // search for the closest snapped curve - if (snapprefs.isTargetSnappable(Inkscape::SNAPTARGET_PATH)) { // We might have been looking for path intersections only, and not for the paths themselves - Inkscape::SnappedCurve closestCurve; - if (getClosestCurve(isr.curves, closestCurve)) { - sp_list.push_back(Inkscape::SnappedPoint(closestCurve)); - } + Inkscape::SnappedCurve closestCurve; + if (getClosestCurve(isr.curves, closestCurve)) { + sp_list.push_back(Inkscape::SnappedPoint(closestCurve)); } if (snapprefs.isTargetSnappable(Inkscape::SNAPTARGET_PATH_INTERSECTION)) { |
