summary | shortlog | log | commit | commitdiff | tree
raw | patch | inline | side by side (parent: 9dc2814)
raw | patch | inline | side by side (parent: 9dc2814)
author | buliabyak <buliabyak@users.sourceforge.net> | |
Wed, 14 Mar 2007 18:03:01 +0000 (18:03 +0000) | ||
committer | buliabyak <buliabyak@users.sourceforge.net> | |
Wed, 14 Mar 2007 18:03:01 +0000 (18:03 +0000) |
src/display/nr-arena-shape.cpp | patch | blob | history |
index afc30acb8bc4a39a444b711a331a3a10023ea1da..6aa259ba64d2fd718731e7923ac8c2ff6f6e65d4 100644 (file)
@@ -379,11 +379,12 @@ nr_arena_shape_update(NRArenaItem *item, NRRectL *area, NRGC *gc, guint state, g
}
item->render_opacity = FALSE;
}
- if ( item->render_opacity == TRUE
- && shape->_fill.paint.type() != NRArenaShape::Paint::NONE
- && shape->_stroke.paint.type() != NRArenaShape::Paint::NONE )
+ if ( (shape->_fill.paint.type() != NRArenaShape::Paint::NONE &&
+ shape->_stroke.paint.type() != NRArenaShape::Paint::NONE)
+ || (shape->markers)
+ )
{
- // don't merge item opacity with paint opacity if there is a stroke on the fill
+ // don't merge item opacity with paint opacity if there is a stroke on the fill, or markers on stroke
item->render_opacity = FALSE;
}