From 8417209743e184c46d7ec845928bfbee5f8d8d77 Mon Sep 17 00:00:00 2001 From: Diederik van Lierop Date: Sun, 8 Apr 2007 21:07:29 +0000 Subject: Changes to the selector tool, e.g. option to choose either APPROXIMATE_BBOX or GEOMETRIC_BBOX (bzr r2833) --- src/sp-shape.cpp | 1 + 1 file changed, 1 insertion(+) (limited to 'src/sp-shape.cpp') diff --git a/src/sp-shape.cpp b/src/sp-shape.cpp index 55dfe6549..8d9b2296a 100644 --- a/src/sp-shape.cpp +++ b/src/sp-shape.cpp @@ -619,6 +619,7 @@ static void sp_shape_bbox(SPItem const *item, NRRect *bbox, NR::Matrix const &tr nr_path_matrix_bbox_union(&bp, transform, &cbbox); if ((SPItem::BBoxType) flags != SPItem::GEOMETRIC_BBOX) { + SPStyle* style=SP_OBJECT_STYLE (item); if (style->stroke.type != SP_PAINT_TYPE_NONE) { double const scale = expansion(transform); -- cgit v1.2.3