X-Git-Url: https://git.pterodactylus.net/?a=blobdiff_plain;f=synfig-core%2Ftrunk%2Fsrc%2Fsynfig%2Flayer_pastecanvas.cpp;h=e456a03c433fd09a275764df9e23979745011a59;hb=4463620b876137696e62be58f3e386901cb69a7a;hp=572aee29f1d268f3dfbedb3fd6620b6f9985c83f;hpb=0b5ca455eae12998cf1f0cbd17c5dd3db8550411;p=synfig.git diff --git a/synfig-core/trunk/src/synfig/layer_pastecanvas.cpp b/synfig-core/trunk/src/synfig/layer_pastecanvas.cpp index 572aee2..e456a03 100644 --- a/synfig-core/trunk/src/synfig/layer_pastecanvas.cpp +++ b/synfig-core/trunk/src/synfig/layer_pastecanvas.cpp @@ -395,8 +395,10 @@ Layer_PasteCanvas::accelerated_render(Context context,Surface *surface,int quali if (!etl::intersect(context.get_full_bounding_rect(),full_bounding_rect+origin)) { - // if there's no intersection between the context and our surface, and we're rendering 'onto', then we're done - if (Color::is_onto(blend_method)) return true; + // if there's no intersection between the context and our + // 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