diff options
| author | Tavmjong Bah <tavmjong@free.fr> | 2019-10-07 08:50:29 +0000 |
|---|---|---|
| committer | Tavmjong Bah <tavmjong@free.fr> | 2019-10-07 08:50:29 +0000 |
| commit | 7c7f6fbf318ac9c284cdbad9f9bc666c92336f71 (patch) | |
| tree | 202120f51c82e30ff90c082d372ea201748a1f63 /src/display/drawing-item.cpp | |
| parent | Add GObject introspection repository to app (diff) | |
| download | inkscape-7c7f6fbf318ac9c284cdbad9f9bc666c92336f71.tar.gz inkscape-7c7f6fbf318ac9c284cdbad9f9bc666c92336f71.zip | |
Fix rendering cache logic, broken in commit b92592ab9ee056f0d1dc60727524d6f07f152f2d
Diffstat (limited to '')
| -rw-r--r-- | src/display/drawing-item.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/display/drawing-item.cpp b/src/display/drawing-item.cpp index 972a2bdc0..60c350cd9 100644 --- a/src/display/drawing-item.cpp +++ b/src/display/drawing-item.cpp @@ -767,7 +767,7 @@ DrawingItem::render(DrawingContext &dc, Geom::IntRect const &area, unsigned flag // Render from cache if possible // Bypass in case of pattern, see below. - if (_cached && flags & ~RENDER_BYPASS_CACHE) { + if (_cached && !(flags & RENDER_BYPASS_CACHE)) { if (_cache) { _cache->prepare(); set_cairo_blend_operator( dc, _mix_blend_mode ); |
