summaryrefslogtreecommitdiffstats
path: root/src/gradient-context.cpp
diff options
context:
space:
mode:
authorDiederik van Lierop <mail@diedenrezi.nl>2007-08-07 20:05:00 +0000
committerdvlierop2 <dvlierop2@users.sourceforge.net>2007-08-07 20:05:00 +0000
commit122d4274f150001d17154b72178ef1b53125c66c (patch)
tree24b90705ce1d319bf04129965d1a502618952b46 /src/gradient-context.cpp
parentwarn when ConvertToShape fails (diff)
downloadinkscape-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/gradient-context.cpp')
-rw-r--r--src/gradient-context.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/gradient-context.cpp b/src/gradient-context.cpp
index 758759d6a..f83625abe 100644
--- a/src/gradient-context.cpp
+++ b/src/gradient-context.cpp
@@ -413,7 +413,7 @@ sp_gradient_context_root_handler(SPEventContext *event_context, GdkEvent *event)
/* Snap center to nearest magnetic point */
SnapManager const &m = desktop->namedview->snap_manager;
- rc->origin = m.freeSnap(Inkscape::Snapper::SNAPPOINT_BBOX | Inkscape::Snapper::SNAPPOINT_NODE, button_dt, NULL).getPoint();
+ rc->origin = m.freeSnap(Inkscape::Snapper::SNAPPOINT_NODE, button_dt, NULL).getPoint();
ret = TRUE;
}