diff options
| author | bulia byak <buliabyak@gmail.com> | 2007-07-28 21:03:56 +0000 |
|---|---|---|
| committer | buliabyak <buliabyak@users.sourceforge.net> | 2007-07-28 21:03:56 +0000 |
| commit | 98a880d24e2bab29e588f8ae55dd091473a5e066 (patch) | |
| tree | 4221d9427b205e3695b30e9865f94c6b8c814d21 /src/sp-clippath.cpp | |
| parent | Modification of the parameters/return value of SPDesktop::getToplevel (diff) | |
| download | inkscape-98a880d24e2bab29e588f8ae55dd091473a5e066.tar.gz inkscape-98a880d24e2bab29e588f8ae55dd091473a5e066.zip | |
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...
(bzr r3333)
Diffstat (limited to 'src/sp-clippath.cpp')
| -rw-r--r-- | src/sp-clippath.cpp | 4 |
1 files changed, 2 insertions, 2 deletions
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); |
