diff options
| author | Jabier Arraiza Cenoz <jabier.arraiza@marker.es> | 2013-09-22 16:53:57 +0000 |
|---|---|---|
| committer | Jabiertxof <jtx@jtx.marker.es> | 2013-09-22 16:53:57 +0000 |
| commit | 8cf510753057485dcf07a5ad4587ffe8c7f7eaa2 (patch) | |
| tree | 26df259064bee700c6a44df885a990ada2a15612 /src/sp-item.cpp | |
| parent | Update to trunk (diff) | |
| parent | Fix CMake build (follow-up to r12567) (diff) | |
| download | inkscape-8cf510753057485dcf07a5ad4587ffe8c7f7eaa2.tar.gz inkscape-8cf510753057485dcf07a5ad4587ffe8c7f7eaa2.zip | |
update to trunk
(bzr r11950.1.147)
Diffstat (limited to 'src/sp-item.cpp')
| -rw-r--r-- | src/sp-item.cpp | 7 |
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; |
