From b7e5111e685e4bf9b75c5823708fdf79fc0c307b Mon Sep 17 00:00:00 2001 From: Alvin Penner Date: Thu, 23 Feb 2012 18:20:44 -0500 Subject: avoid some Shape calculations that are not relevant to visual bbox (Bug 906952) Fixed bugs: - https://launchpad.net/bugs/906952 (bzr r11010) --- src/sp-shape.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src/sp-shape.cpp') diff --git a/src/sp-shape.cpp b/src/sp-shape.cpp index ad2bea77d..f27b3c9db 100644 --- a/src/sp-shape.cpp +++ b/src/sp-shape.cpp @@ -515,7 +515,7 @@ Geom::OptRect SPShape::sp_shape_bbox(SPItem const *item, Geom::Affine const &tra // convert the stroke to a path and calculate that path's geometric bbox SPStyle* style = item->style; if (!style->stroke.isNone()) { - Geom::PathVector *pathv = item_outline(item, false); // disable Path::Coalesce + Geom::PathVector *pathv = item_outline(item, true); // calculate bbox_only if (pathv) { bbox |= bounds_exact_transformed(*pathv, transform); delete pathv; -- cgit v1.2.3