summaryrefslogtreecommitdiffstats
path: root/src/sp-item.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/sp-item.cpp')
-rw-r--r--src/sp-item.cpp7
1 files changed, 4 insertions, 3 deletions
diff --git a/src/sp-item.cpp b/src/sp-item.cpp
index a91d0e741..b7ef68f7d 100644
--- a/src/sp-item.cpp
+++ b/src/sp-item.cpp
@@ -608,8 +608,8 @@ void SPItem::update(SPCtx *ctx, guint flags) {
Geom::OptRect item_bbox = item->visualBounds();
SPItemView *itemview = item->display;
do {
- if (itemview->arenaitem)
- itemview->arenaitem->setItemBounds(item_bbox);
+ if (itemview->arenaitem) // Already enlarged by visualBounds
+ itemview->arenaitem->setFilterBounds(item_bbox);
} while ( (itemview = itemview->next) );
}
@@ -1065,7 +1065,8 @@ Inkscape::DrawingItem *SPItem::invoke_show(Inkscape::Drawing &drawing, unsigned
item_bbox = visualBounds();
}
ai->setData(this);
- ai->setItemBounds(item_bbox);
+ // Already enlarged by visualBounds for filters
+ ai->setFilterBounds(item_bbox);
}
return ai;