diff options
| author | Diederik van Lierop <mail@diedenrezi.nl> | 2008-04-07 19:28:34 +0000 |
|---|---|---|
| committer | dvlierop2 <dvlierop2@users.sourceforge.net> | 2008-04-07 19:28:34 +0000 |
| commit | 34568b6a1d6b5151f6e962b03c3478db0d729676 (patch) | |
| tree | 619b53ec1b6fe3f4840105ad02b1897ee5595da4 /src/context-fns.cpp | |
| parent | cmake: add comment of why to add base binary dir to include path (diff) | |
| download | inkscape-34568b6a1d6b5151f6e962b03c3478db0d729676.tar.gz inkscape-34568b6a1d6b5151f6e962b03c3478db0d729676.zip | |
Refactor snapper and snapindicator (in order to enable the snapindicator in the selector tool)
(bzr r5374)
Diffstat (limited to 'src/context-fns.cpp')
| -rw-r--r-- | src/context-fns.cpp | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/context-fns.cpp b/src/context-fns.cpp index 32c7eef00..d7333adbe 100644 --- a/src/context-fns.cpp +++ b/src/context-fns.cpp @@ -190,9 +190,9 @@ NR::Rect Inkscape::snap_rectangular_box(SPDesktop const *desktop, SPItem *item, p[1] = snappoint.getPoint(); } - if (snappoint.getDistance() < NR_HUGE) { + if (snappoint.getSnapped()) { // this does not work well enough yet. -// desktop->snapindicator->set_new_snappoint(snappoint.getPoint().to_2geom()); +// desktop->snapindicator->set_new_snappoint(snappoint); } p[0] = sp_desktop_dt2root_xy_point(desktop, p[0]); |
