Skip to content

Commit

Permalink
Fix bug #366: Cairo render: Group layer doesn't render its context wh…
Browse files Browse the repository at this point in the history
…en its content doesn't overlap.
  • Loading branch information
genete committed Apr 7, 2013
1 parent d0bb3eb commit e1522c6
Showing 1 changed file with 0 additions and 5 deletions.
5 changes: 0 additions & 5 deletions synfig-core/src/synfig/layer_pastecanvas.cpp
Expand Up @@ -668,11 +668,6 @@ Layer_PasteCanvas::accelerated_cairorender(Context context,cairo_surface_t *surf
// surface, and we're rendering 'onto', then we're done
if (Color::is_onto(blend_method) && !Color::is_straight(blend_method))
return true;

/* 'straight' is faster than 'composite' and has the same
* effect if the affected area of the lower layer is
* transparent.*/
if (blend_method==Color::BLEND_COMPOSITE) blend_using_straight = true;
}

// render the canvas to be pasted onto pastesurface
Expand Down

0 comments on commit e1522c6

Please sign in to comment.