summaryrefslogtreecommitdiffstats
path: root/src/sp-shape.cpp
diff options
context:
space:
mode:
authorAlvin Penner <penner@vaxxine.com>2012-02-23 23:20:44 +0000
committerapenner <penner@vaxxine.com>2012-02-23 23:20:44 +0000
commitb7e5111e685e4bf9b75c5823708fdf79fc0c307b (patch)
tree88d51acf92f0c85d0b87ae9569b2b833707defb6 /src/sp-shape.cpp
parentcppcheck: null pointer dereference fix (diff)
downloadinkscape-b7e5111e685e4bf9b75c5823708fdf79fc0c307b.tar.gz
inkscape-b7e5111e685e4bf9b75c5823708fdf79fc0c307b.zip
avoid some Shape calculations that are not relevant to visual bbox (Bug 906952)
Fixed bugs: - https://launchpad.net/bugs/906952 (bzr r11010)
Diffstat (limited to 'src/sp-shape.cpp')
-rw-r--r--src/sp-shape.cpp2
1 files changed, 1 insertions, 1 deletions
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;