summaryrefslogtreecommitdiffstats
path: root/src/sp-item.cpp
diff options
context:
space:
mode:
authorAlvin Penner <penner@vaxxine.com>2013-09-28 22:43:28 +0000
committerapenner <penner@vaxxine.com>2013-09-28 22:43:28 +0000
commit0c99cd46125045a7e94ae26985e47e1104860b4a (patch)
tree359ddbe6e6aefa6d3847203fb81d8483f80631da /src/sp-item.cpp
parentFontInstances were being leaked here by overreffing - every call to Face must... (diff)
downloadinkscape-0c99cd46125045a7e94ae26985e47e1104860b4a.tar.gz
inkscape-0c99cd46125045a7e94ae26985e47e1104860b4a.zip
use geometric bbox to calculate filter effect region (Bug 1229971)
Fixed bugs: - https://launchpad.net/bugs/1229971 (bzr r12621)
Diffstat (limited to 'src/sp-item.cpp')
-rw-r--r--src/sp-item.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/sp-item.cpp b/src/sp-item.cpp
index 89e995b5f..c342bfd9b 100644
--- a/src/sp-item.cpp
+++ b/src/sp-item.cpp
@@ -725,7 +725,7 @@ Geom::OptRect SPItem::visualBounds(Geom::Affine const &transform) const
// call the subclass method
// CPPIFY
//bbox = this->bbox(Geom::identity(), SPItem::VISUAL_BBOX);
- bbox = const_cast<SPItem*>(this)->bbox(Geom::identity(), SPItem::VISUAL_BBOX);
+ bbox = const_cast<SPItem*>(this)->bbox(Geom::identity(), SPItem::GEOMETRIC_BBOX); // see LP Bug 1229971
SPFilter *filter = SP_FILTER(style->getFilter());
// default filer area per the SVG spec: