aboutsummaryrefslogtreecommitdiff
path: root/generic
diff options
context:
space:
mode:
Diffstat (limited to 'generic')
-rw-r--r--generic/Group.c6
1 files changed, 5 insertions, 1 deletions
diff --git a/generic/Group.c b/generic/Group.c
index b55e01b..2630e95 100644
--- a/generic/Group.c
+++ b/generic/Group.c
@@ -828,6 +828,7 @@ ToArea(Item item,
* Process each item and proceed with subtrees if
* asked for by the recursive flag.
*/
+ /* printf("searching in group %d\n", item?item->id:0);*/
for (current_item = group->head;
current_item != ZN_NO_ITEM;
current_item = current_item->next) {
@@ -835,13 +836,15 @@ ToArea(Item item,
ISCLEAR(current_item->flags, SENSITIVE_BIT)) {
continue;
}
+ /*printf("visible&sensitive %d\n", current_item?current_item->id:0);*/
IntersectBBox(&enclosing, &current_item->item_bounding_box, &inter);
if (IsEmptyBBox(&inter)) {
continue;
}
-
+ /*printf("bbox test passed %d\n", current_item?current_item->id:0);*/
if ((current_item->class != ZnGroup) || atomic || ta->recursive) {
if (current_item->class != ZnGroup) {
+ /*printf("testing %d\n", current_item?current_item->id:0);*/
PushTransform(current_item);
result = current_item->class->ToArea(current_item, ta);
PopTransform(current_item);
@@ -870,6 +873,7 @@ ToArea(Item item,
}
}
if (!ta->report && (result >= ta->enclosed)) {
+ /*printf("Doing %d\n", current_item?current_item->id:0);*/
ZnDoItem(item->wi->interp, current_item, ZN_NO_PART, ta->tag_uid);
}
}