summaryrefslogtreecommitdiffstats
path: root/src/sp-item.cpp
diff options
context:
space:
mode:
authorMartin Owens <doctormo@gmail.com>2013-09-18 18:46:36 +0000
committerMartin Owens <doctormo@gmail.com>2013-09-18 18:46:36 +0000
commit0f85e2c60c4406eaddc7a96d8ddcc05d36d458f2 (patch)
treea6419f2d3428bf3e6f6cd6b57f427602c63f381b /src/sp-item.cpp
parentFix cmake+ninja install (bug #1224543) (diff)
downloadinkscape-0f85e2c60c4406eaddc7a96d8ddcc05d36d458f2.tar.gz
inkscape-0f85e2c60c4406eaddc7a96d8ddcc05d36d458f2.zip
Remove setItemBounds and _item_bbox because aren't sensible, replace with bbox.
Fixed bugs: - https://launchpad.net/bugs/243729 (bzr r12528)
Diffstat (limited to 'src/sp-item.cpp')
-rw-r--r--src/sp-item.cpp12
1 files changed, 0 insertions, 12 deletions
diff --git a/src/sp-item.cpp b/src/sp-item.cpp
index a4070c9b3..3bcb1f132 100644
--- a/src/sp-item.cpp
+++ b/src/sp-item.cpp
@@ -644,17 +644,6 @@ sp_item_update(SPObject *object, SPCtx *ctx, guint flags)
}
}
- /* Update bounding box data used by filters */
- if (item->style->filter.set && item->display) {
- Geom::OptRect item_bbox = item->visualBounds();
-
- SPItemView *itemview = item->display;
- do {
- if (itemview->arenaitem)
- itemview->arenaitem->setItemBounds(item_bbox);
- } while ( (itemview = itemview->next) );
- }
-
// Update libavoid with item geometry (for connector routing).
if (item->avoidRef)
item->avoidRef->handleSettingChange();
@@ -1093,7 +1082,6 @@ Inkscape::DrawingItem *SPItem::invoke_show(Inkscape::Drawing &drawing, unsigned
item_bbox = visualBounds();
}
ai->setData(this);
- ai->setItemBounds(item_bbox);
}
return ai;