Code

snapping transformation center again...
authordvlierop2 <dvlierop2@users.sourceforge.net>
Wed, 27 Jun 2007 20:40:01 +0000 (20:40 +0000)
committerdvlierop2 <dvlierop2@users.sourceforge.net>
Wed, 27 Jun 2007 20:40:01 +0000 (20:40 +0000)
src/sp-item.cpp

index 8b101896f71bb93bc8b425acb0eac33528390f8a..8a557f5d0173c0052188549db65b6797dc14c823 100644 (file)
@@ -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