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/connector-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/connector-context.cpp')
| -rw-r--r-- | src/connector-context.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/connector-context.cpp b/src/connector-context.cpp index 7e8058eee..a072afeda 100644 --- a/src/connector-context.cpp +++ b/src/connector-context.cpp @@ -529,7 +529,7 @@ connector_handle_button_press(SPConnectorContext *const cc, GdkEventButton const // This is the first point, so just snap it to the grid // as there's no other points to go off. SnapManager const &m = cc->desktop->namedview->snap_manager; - p = m.freeSnap(Inkscape::Snapper::SNAPPOINT_NODE | Inkscape::Snapper::SNAPPOINT_BBOX, + p = m.freeSnap(Inkscape::Snapper::SNAPPOINT_NODE, p, NULL).getPoint(); } spcc_connector_set_initial_point(cc, p); |
