summaryrefslogtreecommitdiffstats
path: root/src/display/nr-arena-item.cpp
diff options
context:
space:
mode:
authorNiko Kiirala <niko@kiirala.com>2007-06-07 15:26:34 +0000
committerkiirala <kiirala@users.sourceforge.net>2007-06-07 15:26:34 +0000
commit1d91f38fa7085abef79fc3e59ba7a34e1a7bf675 (patch)
tree91bf1b1e1e778bbbc18bbe3c12696919901d9164 /src/display/nr-arena-item.cpp
parentfixed string parameter to work with latex extension. will need further resear... (diff)
downloadinkscape-1d91f38fa7085abef79fc3e59ba7a34e1a7bf675.tar.gz
inkscape-1d91f38fa7085abef79fc3e59ba7a34e1a7bf675.zip
First version of feOffset support. Contains some rendering glitches.
(bzr r3055)
Diffstat (limited to 'src/display/nr-arena-item.cpp')
-rw-r--r--src/display/nr-arena-item.cpp5
1 files changed, 3 insertions, 2 deletions
diff --git a/src/display/nr-arena-item.cpp b/src/display/nr-arena-item.cpp
index b7ff825d2..a4fdcf5bc 100644
--- a/src/display/nr-arena-item.cpp
+++ b/src/display/nr-arena-item.cpp
@@ -414,9 +414,10 @@ nr_arena_item_invoke_render (cairo_t *ct, NRArenaItem *item, NRRectL const *area
/* If background access is used, save the pixblock address.
* This address is set to NULL at the end of this block */
- if (item->background_new
- || (item->parent && item->parent->background_pb)) {
+ if (item->background_new) {
item->background_pb = &ipb;
+ } else if (item->parent && item->parent->background_pb) {
+ item->background_pb = item->parent->background_pb;
}
ipb.visible_area = pb->visible_area;
unsigned int state = NR_ARENA_ITEM_VIRTUAL (item, render) (ct, item, &carea, &ipb, flags);