--- E:/sp-item-group_bzr.cpp Mon Aug 4 11:03:50 2014 +++ E:/sp-item-group.cpp Wed Aug 13 16:15:20 2014 @@ -660,11 +660,11 @@ Geom::Translate const s(p); Geom::Affine final = s.inverse() * sc * s; - Geom::Point old_center(0,0); - if (item->isCenterSet()) { - item->scaleCenter(sc.inverse()); // Convert the old relative center position to the new coordinates already now - old_center = item->getCenter(); // because getCenter() will use the bbox midpoint, which is also already in the new coordinates - } +// Geom::Point old_center(0,0); +// if (item->isCenterSet()) { +// item->scaleCenter(sc.inverse()); // Convert the old relative center position to the new coordinates already now +// old_center = item->getCenter(); // because getCenter() will use the bbox midpoint, which is also already in the new coordinates +// } gchar const *conn_type = NULL; if (SP_IS_TEXT_TEXTPATH(item)) { @@ -709,10 +709,10 @@ item->setAttribute("inkscape:connector-type", conn_type); } - if (item->isCenterSet() && !(final.isTranslation() || final.isIdentity())) { - item->setCenter(old_center * final); - item->updateRepr(); - } +// if (item->isCenterSet() && !(final.isTranslation() || final.isIdentity())) { +// item->setCenter(old_center * final); +// item->updateRepr(); +// } } } }