summaryrefslogtreecommitdiffstats
path: root/src/sp-item-group.cpp
diff options
context:
space:
mode:
authorAlvin Penner <penner@vaxxine.com>2015-01-15 19:03:17 +0000
committerapenner <penner@vaxxine.com>2015-01-15 19:03:17 +0000
commit45b5e7ad68a9166a61f96b3ffc469818a2bf4fcd (patch)
tree89e99c009d1a73b18a923b81e3986b031df3e313 /src/sp-item-group.cpp
parentRead properties for SVG 2 text in a shape. (diff)
downloadinkscape-45b5e7ad68a9166a61f96b3ffc469818a2bf4fcd.tar.gz
inkscape-45b5e7ad68a9166a61f96b3ffc469818a2bf4fcd.zip
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)
Diffstat (limited to 'src/sp-item-group.cpp')
-rw-r--r--src/sp-item-group.cpp6
1 files changed, 3 insertions, 3 deletions
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 <circle> and <rect> 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();
}
- }
+// }
}
}
}