X-Git-Url: https://git.pterodactylus.net/?a=blobdiff_plain;f=synfig-core%2Ftrunk%2Fsrc%2Fsynfig%2Flayer_pastecanvas.cpp;h=553d5511bebe41a5bf1171625fb1b47e1b2ccb03;hb=9bc9b6fa13f9ab0c2bf1cdface47aed0dcc123d1;hp=f8006e44d545b6b17ecdf26ba4e279f4f47d0e71;hpb=98c3bd9c080667ee1bf46e69e625678983a52c47;p=synfig.git diff --git a/synfig-core/trunk/src/synfig/layer_pastecanvas.cpp b/synfig-core/trunk/src/synfig/layer_pastecanvas.cpp index f8006e4..553d551 100644 --- a/synfig-core/trunk/src/synfig/layer_pastecanvas.cpp +++ b/synfig-core/trunk/src/synfig/layer_pastecanvas.cpp @@ -413,7 +413,7 @@ Layer_PasteCanvas::accelerated_render(Context context,Surface *surface,int quali if (blend_method==Color::BLEND_COMPOSITE) blend_using_straight = true; } - if (!etl::intersect(context.get_full_bounding_rect(),(full_bounding_rect*exp(zoom))+origin)) + if (!etl::intersect(context.get_full_bounding_rect(),(full_bounding_rect-canvas->rend_desc().get_focus())*exp(zoom)+origin+canvas->rend_desc().get_focus())) { // if there's no intersection between the context and our // surface, and we're rendering 'onto', then we're done