diff options
author | lecoanet | 2002-06-25 08:06:30 +0000 |
---|---|---|
committer | lecoanet | 2002-06-25 08:06:30 +0000 |
commit | 799546eebbc22ca42d5afb32505022dddb0b4c99 (patch) | |
tree | 1130caf7753f5ac757a25d152ff69f081a529152 /generic/Group.c | |
parent | af5d78d48a9493b0ef1f0fa8b98e99d1179c6677 (diff) | |
download | tkzinc-799546eebbc22ca42d5afb32505022dddb0b4c99.zip tkzinc-799546eebbc22ca42d5afb32505022dddb0b4c99.tar.gz tkzinc-799546eebbc22ca42d5afb32505022dddb0b4c99.tar.bz2 tkzinc-799546eebbc22ca42d5afb32505022dddb0b4c99.tar.xz |
* (ToArea): Correction d'un PopTransform mal plac� provoquant
des comportements bizarres dans les applis (symptome les
objets se d�placent et/ou deviennent invisibles).
Diffstat (limited to 'generic/Group.c')
-rw-r--r-- | generic/Group.c | 15 |
1 files changed, 8 insertions, 7 deletions
diff --git a/generic/Group.c b/generic/Group.c index d2908e7..ad1d706 100644 --- a/generic/Group.c +++ b/generic/Group.c @@ -840,12 +840,16 @@ ToArea(Item item, if (IsEmptyBBox(&inter)) { continue; } - if (current_item->class != ZnGroup) { - PushTransform(current_item); - } if ((current_item->class != ZnGroup) || atomic || ta->recursive) { - result = current_item->class->ToArea(current_item, ta); + if (current_item->class != ZnGroup) { + PushTransform(current_item); + result = current_item->class->ToArea(current_item, ta); + PopTransform(current_item); + } + else { + result = current_item->class->ToArea(current_item, ta); + } outside &= (result == -1); inside &= (result == 1); empty = False; @@ -870,9 +874,6 @@ ToArea(Item item, ZnDoItem(item->wi->interp, current_item, ZN_NO_PART, ta->tag_uid); } } - if (current_item->class != ZnGroup) { - PopTransform(current_item); - } } /* |