From c8c90de911688f9043c09b5b777b0c68a06942f5 Mon Sep 17 00:00:00 2001 From: Jabier Arraiza Date: Sat, 22 Feb 2020 17:00:29 +0100 Subject: [PATCH] Small try to improve rendering rendering objects in one pass --- src/display/drawing-item.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/display/drawing-item.cpp b/src/display/drawing-item.cpp index 08b9b51632..16fb075890 100644 --- a/src/display/drawing-item.cpp +++ b/src/display/drawing-item.cpp @@ -687,7 +687,7 @@ DrawingItem::render(DrawingContext &dc, Geom::IntRect const &area, unsigned flag // Note 2: We only need to render carea of clip and mask, but // iarea of the object. - Geom::OptIntRect iarea = carea; + Geom::OptIntRect iarea = Geom::intersect(_cacheRect(), _drawbox); // expand carea to contain the dependent area of filters. if (_filter && render_filters) { iarea = _cacheRect(); -- GitLab