
Sun, 7 Oct 2007 19:43:34 -0300 "bulia byak" <buliabyak@...400...> kirjoitti:
The additions look reasonable in themselves, but the fact that almost everything worked fine without them suggests that this bbox calculation is really only needed in some special cases, and/or for some special objects (with filters and transforms perhaps?). Niko, can you please look into this to see if it's possible to limit the negative performance impact of these changes?
That code shouldn't affect anything besides filter rendering. Testing if the object has a filter applied would be the simplest thing to do in this case.
Another possibility might be to make that happen when the mouse is released. That could produce odd-looking results while modifying objects, though.
And for item->display being linked list... Yes, that propably should traverse the list and use nr_arena_item_set_item_bbox for every list node.