summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorKrzysztof Kosi??ski <tweenk.pl@gmail.com>2011-08-29 18:02:57 +0000
committerKrzysztof KosiƄski <tweenk.pl@gmail.com>2011-08-29 18:02:57 +0000
commit65133b7baf95332b9ee6acb56bd37ed400a1db0c (patch)
tree50cd88978bdc23f4db39a822201c810116f1145e
parentFix compilation failure in DBus API (diff)
downloadinkscape-65133b7baf95332b9ee6acb56bd37ed400a1db0c.tar.gz
inkscape-65133b7baf95332b9ee6acb56bd37ed400a1db0c.zip
Correct typo in bounding box calculation for groups. Fixes LP #836536
Fixed bugs: - https://launchpad.net/bugs/836536 (bzr r10595)
-rw-r--r--src/sp-item-group.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/sp-item-group.cpp b/src/sp-item-group.cpp
index ada980b3e..a733097d5 100644
--- a/src/sp-item-group.cpp
+++ b/src/sp-item-group.cpp
@@ -706,7 +706,7 @@ Geom::OptRect CGroup::bounds(SPItem::BBoxType type, Geom::Affine const &transfor
if (SP_IS_ITEM(o) && !SP_ITEM(o)->isHidden()) {
SPItem *child = SP_ITEM(o);
Geom::Affine const ct(child->transform * transform);
- bbox |= child->bounds(type, transform);
+ bbox |= child->bounds(type, ct);
}
l = g_slist_remove (l, o);
}