diff options
| author | bulia byak <buliabyak@gmail.com> | 2008-08-05 18:40:15 +0000 |
|---|---|---|
| committer | buliabyak <buliabyak@users.sourceforge.net> | 2008-08-05 18:40:15 +0000 |
| commit | b663f1ba6f5a88b116fa5545783ff57f07b17d45 (patch) | |
| tree | e04e062e55ccbdb9efd9e345f8ec0b2f5993a606 /src/sp-item-group.cpp | |
| parent | replace unnecessary exception catching with a check beforehand. (diff) | |
| download | inkscape-b663f1ba6f5a88b116fa5545783ff57f07b17d45.tar.gz inkscape-b663f1ba6f5a88b116fa5545783ff57f07b17d45.zip | |
fix 252547: skip explicitly hidden objects when calculating bbox of group
(bzr r6566)
Diffstat (limited to 'src/sp-item-group.cpp')
| -rw-r--r-- | src/sp-item-group.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/sp-item-group.cpp b/src/sp-item-group.cpp index 9e6333f97..80089df35 100644 --- a/src/sp-item-group.cpp +++ b/src/sp-item-group.cpp @@ -701,7 +701,7 @@ void CGroup::calculateBBox(NRRect *bbox, NR::Matrix const &transform, unsigned c GSList *l = _group->childList(false, SPObject::ActionBBox); while (l) { SPObject *o = SP_OBJECT (l->data); - if (SP_IS_ITEM(o)) { + if (SP_IS_ITEM(o) && !SP_ITEM(o)->isHidden()) { SPItem *child = SP_ITEM(o); NR::Matrix const ct(child->transform * transform); sp_item_invoke_bbox_full(child, &dummy_bbox, ct, flags, FALSE); |
