Fix 1993098: "Composited Inline canvases fails if background is transp.". This was...
[synfig.git] / synfig-core / trunk / src / synfig / layer_pastecanvas.cpp
index 2423392..bcf954f 100644 (file)
@@ -411,7 +411,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+origin))
+       if (!etl::intersect(context.get_full_bounding_rect(),(full_bounding_rect*exp(zoom))+origin))
        {
                // if there's no intersection between the context and our
                // surface, and we're rendering 'onto', then we're done