From d332b7a8d0e55612abc377a107bb1768fc657637 Mon Sep 17 00:00:00 2001 From: Martin Owens Date: Fri, 20 Sep 2013 16:27:08 -0400 Subject: Fix the text filter issue and revert many changes. (bzr r12556) --- src/sp-item.cpp | 7 ++++--- 1 file changed, 4 insertions(+), 3 deletions(-) (limited to 'src/sp-item.cpp') 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; -- cgit v1.2.3