aboutsummaryrefslogtreecommitdiff
path: root/generic/Group.c
diff options
context:
space:
mode:
Diffstat (limited to 'generic/Group.c')
-rw-r--r--generic/Group.c4
1 files changed, 3 insertions, 1 deletions
diff --git a/generic/Group.c b/generic/Group.c
index 9249adc..6031811 100644
--- a/generic/Group.c
+++ b/generic/Group.c
@@ -795,7 +795,9 @@ ComputeCoordinates(ZnItem item,
ZnResetBBox(&item->item_bounding_box);
current_item = group->head;
while (current_item != ZN_NO_ITEM) {
- ZnAddBBoxToBBox(&item->item_bounding_box, &current_item->item_bounding_box);
+ if (ISSET(current_item->flags, ZN_VISIBLE_BIT)) {
+ ZnAddBBoxToBBox(&item->item_bounding_box, &current_item->item_bounding_box);
+ }
current_item = current_item->next;
}
/*