summaryrefslogtreecommitdiffstats
path: root/src/display/drawing-item.cpp
diff options
context:
space:
mode:
authorJabier Arraiza Cenoz <jabier.arraiza@marker.es>2013-09-17 16:57:02 +0000
committerJabiertxof <jtx@jtx.marker.es>2013-09-17 16:57:02 +0000
commit909d0457495fa1d5f3cfe7065fd68d4021c0d291 (patch)
tree33cb19d99eafde178bcc0b08316fba1568ed5fb7 /src/display/drawing-item.cpp
parentupdate to trunk (diff)
parentFix for Bug #1217602 (Measure Path fails with XML too deep error) by dave m. (diff)
downloadinkscape-909d0457495fa1d5f3cfe7065fd68d4021c0d291.tar.gz
inkscape-909d0457495fa1d5f3cfe7065fd68d4021c0d291.zip
Update to trunk
(bzr r11950.1.140)
Diffstat (limited to 'src/display/drawing-item.cpp')
-rw-r--r--src/display/drawing-item.cpp4
1 files changed, 3 insertions, 1 deletions
diff --git a/src/display/drawing-item.cpp b/src/display/drawing-item.cpp
index 80664d822..1814dd615 100644
--- a/src/display/drawing-item.cpp
+++ b/src/display/drawing-item.cpp
@@ -353,7 +353,9 @@ DrawingItem::update(Geom::IntRect const &area, UpdateContext const &ctx, unsigne
if (to_update & STATE_BBOX) {
// compute drawbox
if (_filter && render_filters) {
- _drawbox = _filter->compute_drawbox(this, _item_bbox);
+ Geom::IntRect newbox(*_bbox);
+ _filter->area_enlarge(newbox, this);
+ _drawbox = Geom::OptIntRect(newbox);
} else {
_drawbox = _bbox;
}