diff options
author | Bjørn Erik Nilsen <bjorn.nilsen@nokia.com> | 2010-07-20 08:32:59 (GMT) |
---|---|---|
committer | Bjørn Erik Nilsen <bjorn.nilsen@nokia.com> | 2010-07-20 10:10:37 (GMT) |
commit | 4df9c96e2c213c39924e22e02621b0c61e83f8fe (patch) | |
tree | 3e95cfcf951ecbca57cfd01491586ab172e77cd1 /doc/src/snippets/code/src_script_qscriptengineagent.cpp | |
parent | 7bdbf59e43bd5db584923402b8a2ce2f50d1ca4b (diff) | |
download | Qt-4df9c96e2c213c39924e22e02621b0c61e83f8fe.zip Qt-4df9c96e2c213c39924e22e02621b0c61e83f8fe.tar.gz Qt-4df9c96e2c213c39924e22e02621b0c61e83f8fe.tar.bz2 |
QGraphicsItem: Animation leaves drawing artifacts when clipping is used.
This only happens when the ItemHasNoContents and ItemClipsChildrenToShape
flags are set. Problem is that items with no content are threated as 'dummy'
items, which means they are never drawn or 'processed' otherwise, so the
cached bounding rect is not reliable/usable. This means that in case of
changing the geometry of such items, its children always have to take
care of invalidating the occupied areas and the update can not be
clipped to the item's bounding rect.
Regression after commit: c1c7dbf2
Auto test included.
Task-number: QTBUG-11504
Reviewed-by: yoann
Diffstat (limited to 'doc/src/snippets/code/src_script_qscriptengineagent.cpp')
0 files changed, 0 insertions, 0 deletions