diff options
| author | Alvin Penner <penner@vaxxine.com> | 2012-02-23 23:20:44 +0000 |
|---|---|---|
| committer | apenner <penner@vaxxine.com> | 2012-02-23 23:20:44 +0000 |
| commit | b7e5111e685e4bf9b75c5823708fdf79fc0c307b (patch) | |
| tree | 88d51acf92f0c85d0b87ae9569b2b833707defb6 /src/sp-shape.cpp | |
| parent | cppcheck: null pointer dereference fix (diff) | |
| download | inkscape-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.cpp | 2 |
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; |
