diff options
| author | Adrian Johnson <> | 2013-09-19 17:03:35 +0000 |
|---|---|---|
| committer | Krzysztof KosiĆski <tweenk.pl@gmail.com> | 2013-09-19 17:03:35 +0000 |
| commit | f74229c8bc1a97f5f30ea658c178fde50834eb73 (patch) | |
| tree | 7f0f76347c27e59a784b4a3af990af7b247c5b41 /src/extension | |
| parent | Fix serious potential bug in SPImage::print (diff) | |
| download | inkscape-f74229c8bc1a97f5f30ea658c178fde50834eb73.tar.gz inkscape-f74229c8bc1a97f5f30ea658c178fde50834eb73.zip | |
Do not require a new layer for clipping paths in the Cairo renderer.
Fixes LP #523285.
Fixed bugs:
- https://launchpad.net/bugs/523285
(bzr r12544)
Diffstat (limited to 'src/extension')
| -rw-r--r-- | src/extension/internal/cairo-renderer.cpp | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/extension/internal/cairo-renderer.cpp b/src/extension/internal/cairo-renderer.cpp index eb16a38e1..cace251cf 100644 --- a/src/extension/internal/cairo-renderer.cpp +++ b/src/extension/internal/cairo-renderer.cpp @@ -580,9 +580,9 @@ void CairoRenderer::renderItem(CairoRenderContext *ctx, SPItem *item) setStateForItem(ctx, item); CairoRenderState *state = ctx->getCurrentState(); - state->need_layer = ( state->mask || state->clip_path || state->opacity != 1.0 ); + state->need_layer = ( state->mask || state->opacity != 1.0 ); - // Draw item on a temporary surface so a mask, clip path, or opacity can be applied to it. + // Draw item on a temporary surface so a mask or opacity can be applied to it. if (state->need_layer) { state->merge_opacity = FALSE; ctx->pushLayer(); |
