From: buliabyak Date: Fri, 20 Oct 2006 07:00:30 +0000 (+0000) Subject: fix the erroneous double opacity on filtered objects X-Git-Url: https://git.tokkee.org/?a=commitdiff_plain;h=da6f0a4f7346d38c26ae2d90889860241bcd03da;p=inkscape.git fix the erroneous double opacity on filtered objects --- diff --git a/src/display/nr-arena-item.cpp b/src/display/nr-arena-item.cpp index d4e237104..a46ad0cc0 100644 --- a/src/display/nr-arena-item.cpp +++ b/src/display/nr-arena-item.cpp @@ -509,8 +509,12 @@ nr_arena_item_invoke_render (NRArenaItem *item, NRRectL const *area, /* This pointer wouldn't be valid outside this block, so clear it */ item->background_pb = NULL; } else { - /* Opacity only */ - nr_blit_pixblock_pixblock_alpha (dpb, &ipb, item->opacity); + if (item->filter && !outline) { + nr_blit_pixblock_pixblock(dpb, &ipb); + } else { + /* Opacity only */ + nr_blit_pixblock_pixblock_alpha (dpb, &ipb, item->opacity); + } } nr_pixblock_release (&ipb); dpb->empty = FALSE;