summaryrefslogtreecommitdiffstats
path: root/src/sp-item.cpp
diff options
context:
space:
mode:
authorDiederik van Lierop <mail@diedenrezi.nl>2009-01-18 20:00:19 +0000
committerdvlierop2 <dvlierop2@users.sourceforge.net>2009-01-18 20:00:19 +0000
commit644f4f4a93a81735fb8265907533308df80d6b11 (patch)
tree47a80b1dc162b88a063b295dbae920cc2a668e93 /src/sp-item.cpp
parentsnap indicator: try a diamond shaped indicator for snapping to nodes. see how... (diff)
downloadinkscape-644f4f4a93a81735fb8265907533308df80d6b11.tar.gz
inkscape-644f4f4a93a81735fb8265907533308df80d6b11.zip
- Snap to the midpoint of shapes and bboxes
- Snap to the midpoint of paths and bbox edges - Refactor the snapping toggle, i.e. what snaps to what when toggling a specific option in the snapping toolbar PS: icons.svg has been modified, so use "make install" if needed (bzr r7144)
Diffstat (limited to 'src/sp-item.cpp')
-rw-r--r--src/sp-item.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/sp-item.cpp b/src/sp-item.cpp
index 8971c3abb..2ac480341 100644
--- a/src/sp-item.cpp
+++ b/src/sp-item.cpp
@@ -973,7 +973,7 @@ void sp_item_snappoints(SPItem const *item, SnapPointsIter p, Inkscape::SnapPref
// Get the snappoints at the item's center
if (snapprefs != NULL && snapprefs->getIncludeItemCenter()) {
- *p = item->getCenter();
+ *p = item->getCenter();
}
// Get the snappoints of clipping paths and mask, if any