summaryrefslogtreecommitdiffstats
path: root/src/sp-item-group.cpp
diff options
context:
space:
mode:
authorDiederik van Lierop <mail@diedenrezi.nl>2007-11-21 19:23:55 +0000
committerdvlierop2 <dvlierop2@users.sourceforge.net>2007-11-21 19:23:55 +0000
commitc93dc21127b07300b1e660c7b2782e542aefdcbc (patch)
tree2f8e8b9ce51b5313e0af71dbe6968dda32017a73 /src/sp-item-group.cpp
parentuse gobble_key_events to speed up keyboard moves (diff)
downloadinkscape-c93dc21127b07300b1e660c7b2782e542aefdcbc.tar.gz
inkscape-c93dc21127b07300b1e660c7b2782e542aefdcbc.zip
Also consider path nodes for snapping
(bzr r4122)
Diffstat (limited to 'src/sp-item-group.cpp')
-rw-r--r--src/sp-item-group.cpp4
1 files changed, 1 insertions, 3 deletions
diff --git a/src/sp-item-group.cpp b/src/sp-item-group.cpp
index f1035e9ee..cabc7b26a 100644
--- a/src/sp-item-group.cpp
+++ b/src/sp-item-group.cpp
@@ -298,9 +298,7 @@ static void sp_group_snappoints (SPItem const *item, SnapPointsIter p)
o != NULL;
o = SP_OBJECT_NEXT(o))
{
- if (SP_IS_ITEM(o) && !SP_IS_PATH(o)) {
- // getSnapPoints() and sp_group_snappoints are only being used in the selector tool,
- // which should not snap path nodes. Only the node tool should snap those.
+ if (SP_IS_ITEM(o)) {
sp_item_snappoints(SP_ITEM(o), false, p);
}
}