diff options
| author | Diederik van Lierop <mail@diedenrezi.nl> | 2007-08-07 20:05:00 +0000 |
|---|---|---|
| committer | dvlierop2 <dvlierop2@users.sourceforge.net> | 2007-08-07 20:05:00 +0000 |
| commit | 122d4274f150001d17154b72178ef1b53125c66c (patch) | |
| tree | 24b90705ce1d319bf04129965d1a502618952b46 /src/spiral-context.cpp | |
| parent | warn when ConvertToShape fails (diff) | |
| download | inkscape-122d4274f150001d17154b72178ef1b53125c66c.tar.gz inkscape-122d4274f150001d17154b72178ef1b53125c66c.zip | |
Only in the selector tool we should snap in bbox mode (PointType = SNAPPOINT_BBOX)
(bzr r3415)
Diffstat (limited to 'src/spiral-context.cpp')
| -rw-r--r-- | src/spiral-context.cpp | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/spiral-context.cpp b/src/spiral-context.cpp index 1014665a1..4e0fd9878 100644 --- a/src/spiral-context.cpp +++ b/src/spiral-context.cpp @@ -264,7 +264,7 @@ sp_spiral_context_root_handler(SPEventContext *event_context, GdkEvent *event) sc->center = Inkscape::setup_for_drag_start(desktop, event_context, event); SnapManager const &m = desktop->namedview->snap_manager; - sc->center = m.freeSnap(Inkscape::Snapper::SNAPPOINT_BBOX | Inkscape::Snapper::SNAPPOINT_NODE, sc->center, sc->item).getPoint(); + sc->center = m.freeSnap(Inkscape::Snapper::SNAPPOINT_NODE, sc->center, sc->item).getPoint(); sp_canvas_item_grab(SP_CANVAS_ITEM(desktop->acetate), ( GDK_KEY_PRESS_MASK | @@ -292,7 +292,7 @@ sp_spiral_context_root_handler(SPEventContext *event_context, GdkEvent *event) NR::Point motion_dt(event_context->desktop->w2d(motion_w)); SnapManager const &m = desktop->namedview->snap_manager; - motion_dt = m.freeSnap(Inkscape::Snapper::SNAPPOINT_BBOX | Inkscape::Snapper::SNAPPOINT_NODE, motion_dt, sc->item).getPoint(); + motion_dt = m.freeSnap(Inkscape::Snapper::SNAPPOINT_NODE, motion_dt, sc->item).getPoint(); sp_spiral_drag(sc, motion_dt, event->motion.state); ret = TRUE; |
