From da6f0a4f7346d38c26ae2d90889860241bcd03da Mon Sep 17 00:00:00 2001 From: buliabyak Date: Fri, 20 Oct 2006 07:00:30 +0000 Subject: [PATCH] fix the erroneous double opacity on filtered objects --- src/display/nr-arena-item.cpp | 8 ++++++-- 1 file changed, 6 insertions(+), 2 deletions(-) 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; -- 2.30.2