diff options
| author | Diederik van Lierop <mail@diedenrezi.nl> | 2007-03-16 21:26:53 +0000 |
|---|---|---|
| committer | dvlierop2 <dvlierop2@users.sourceforge.net> | 2007-03-16 21:26:53 +0000 |
| commit | fcf0c0d5effa07885b4358c34c69c4f118aa8042 (patch) | |
| tree | 74f7a2864cdebdddbbac0a55077badb360a30a51 /src/rect-context.cpp | |
| parent | fix 1679477 (diff) | |
| download | inkscape-fcf0c0d5effa07885b4358c34c69c4f118aa8042.tar.gz inkscape-fcf0c0d5effa07885b4358c34c69c4f118aa8042.zip | |
Fix bug #1511262: don't snap rect to itself
(bzr r2675)
Diffstat (limited to 'src/rect-context.cpp')
| -rw-r--r-- | src/rect-context.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/rect-context.cpp b/src/rect-context.cpp index 8482cd042..b6c331538 100644 --- a/src/rect-context.cpp +++ b/src/rect-context.cpp @@ -330,7 +330,7 @@ static gint sp_rect_context_root_handler(SPEventContext *event_context, GdkEvent NR::Point motion_dt(desktop->w2d(motion_w)); SnapManager const &m = desktop->namedview->snap_manager; - motion_dt = m.freeSnap(Inkscape::Snapper::BBOX_POINT | Inkscape::Snapper::SNAP_POINT, motion_dt, NULL).getPoint(); + motion_dt = m.freeSnap(Inkscape::Snapper::BBOX_POINT | Inkscape::Snapper::SNAP_POINT, motion_dt, rc->item).getPoint(); sp_rect_drag(*rc, motion_dt, event->motion.state); |
