From: buliabyak Date: Sat, 28 Jul 2007 21:03:56 +0000 (+0000) Subject: pass the geometric bbox flag when taking bbox for clipping; unfortunately this still... X-Git-Url: https://git.tokkee.org/?a=commitdiff_plain;h=9846ec4d96d1f0bff06254ca7cb63d79be7029a9;p=inkscape.git pass the geometric bbox flag when taking bbox for clipping; unfortunately this still does not fix the clip-by-clone crash, now it crashes in the show method instead of bbox... --- diff --git a/src/sp-clippath.cpp b/src/sp-clippath.cpp index a1927f337..3a55c52f7 100644 --- a/src/sp-clippath.cpp +++ b/src/sp-clippath.cpp @@ -334,13 +334,13 @@ sp_clippath_get_bbox(SPClipPath *cp, NRRect *bbox, NR::Matrix const &transform, for (i = sp_object_first_child(SP_OBJECT(cp)); i && !SP_IS_ITEM(i); i = SP_OBJECT_NEXT(i)); if (!i) return; - sp_item_invoke_bbox_full(SP_ITEM(i), bbox, NR::Matrix(SP_ITEM(i)->transform) * transform, flags, FALSE); + sp_item_invoke_bbox_full(SP_ITEM(i), bbox, NR::Matrix(SP_ITEM(i)->transform) * transform, SPItem::GEOMETRIC_BBOX, FALSE); SPObject *i_start = i; while (i != NULL) { if (i != i_start) { NRRect i_box; - sp_item_invoke_bbox_full(SP_ITEM(i), &i_box, NR::Matrix(SP_ITEM(i)->transform) * transform, flags, FALSE); + sp_item_invoke_bbox_full(SP_ITEM(i), &i_box, NR::Matrix(SP_ITEM(i)->transform) * transform, SPItem::GEOMETRIC_BBOX, FALSE); nr_rect_d_union (bbox, bbox, &i_box); } i = SP_OBJECT_NEXT(i);