summaryrefslogtreecommitdiffstats
path: root/src/sp-item.cpp
diff options
context:
space:
mode:
authorDiederik van Lierop <mail@diedenrezi.nl>2007-06-27 20:40:01 +0000
committerdvlierop2 <dvlierop2@users.sourceforge.net>2007-06-27 20:40:01 +0000
commit15155264505abb9f9f9d222057008b084fae62fa (patch)
tree89101706b887bc211bea62ed6cbdf46bd54209da /src/sp-item.cpp
parenta couple more checks just in case (diff)
downloadinkscape-15155264505abb9f9f9d222057008b084fae62fa.tar.gz
inkscape-15155264505abb9f9f9d222057008b084fae62fa.zip
snapping transformation center again...
(bzr r3149)
Diffstat (limited to 'src/sp-item.cpp')
-rw-r--r--src/sp-item.cpp2
1 files changed, 2 insertions, 0 deletions
diff --git a/src/sp-item.cpp b/src/sp-item.cpp
index 8b101896f..8a557f5d0 100644
--- a/src/sp-item.cpp
+++ b/src/sp-item.cpp
@@ -786,6 +786,8 @@ void sp_item_snappoints(SPItem const *item, SnapPointsIter p)
if (item_class.snappoints) {
item_class.snappoints(item, p);
}
+
+ *p = item->getCenter();
}
void