From 45b5e7ad68a9166a61f96b3ffc469818a2bf4fcd Mon Sep 17 00:00:00 2001 From: Alvin Penner Date: Thu, 15 Jan 2015 14:03:17 -0500 Subject: during copy and paste, scale stock symbols from units of 'px' to 'document-units'. (Bug 1365451) Fixed bugs: - https://launchpad.net/bugs/1365451 (bzr r13853) --- src/sp-item-group.cpp | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) (limited to 'src/sp-item-group.cpp') diff --git a/src/sp-item-group.cpp b/src/sp-item-group.cpp index acf8b2012..b1ba37de2 100644 --- a/src/sp-item-group.cpp +++ b/src/sp-item-group.cpp @@ -727,8 +727,8 @@ void SPGroup::scaleChildItemsRec(Geom::Scale const &sc, Geom::Point const &p, bo group->scaleChildItemsRec(sc, p, false); } } else { - Geom::OptRect bbox = item->desktopVisualBounds(); - if (bbox) { +// Geom::OptRect bbox = item->desktopVisualBounds(); +// if (bbox) { // test not needed, this was causing a failure to scale and in the clipboard, see LP Bug 1365451 // Scale item Geom::Translate const s(p); Geom::Affine final = s.inverse() * sc * s; @@ -789,7 +789,7 @@ void SPGroup::scaleChildItemsRec(Geom::Scale const &sc, Geom::Point const &p, bo item->scaleCenter(sc); // All coordinates have been scaled, so also the center must be scaled item->updateRepr(); } - } +// } } } } -- cgit v1.2.3