summaryrefslogtreecommitdiffstats
path: root/src/sp-item.cpp
diff options
context:
space:
mode:
authorMartin Owens <doctormo@gmail.com>2013-09-20 20:27:08 +0000
committerMartin Owens <doctormo@gmail.com>2013-09-20 20:27:08 +0000
commitd332b7a8d0e55612abc377a107bb1768fc657637 (patch)
treeb67ef82509bc254c8dcc8aede2c7f09e0e488d96 /src/sp-item.cpp
parentFix build with dbus api enabled. (diff)
downloadinkscape-d332b7a8d0e55612abc377a107bb1768fc657637.tar.gz
inkscape-d332b7a8d0e55612abc377a107bb1768fc657637.zip
Fix the text filter issue and revert many changes.
(bzr r12556)
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;