summaryrefslogtreecommitdiffstats
path: root/src/live_effects/effect.cpp
diff options
context:
space:
mode:
authorJabier Arraiza Cenoz <jabier.arraiza@marker.es>2016-03-19 11:17:59 +0000
committerJabiertxof <jtx@jtx.marker.es>2016-03-19 11:17:59 +0000
commit05b3344e7b4151a0ef334ed34c5b566801094806 (patch)
tree342b99be0a40652174d98e805b69dc8614c98d4a /src/live_effects/effect.cpp
parentRemove code of a semifixed bug (diff)
downloadinkscape-05b3344e7b4151a0ef334ed34c5b566801094806.tar.gz
inkscape-05b3344e7b4151a0ef334ed34c5b566801094806.zip
Fix a problem with LPE on clips and paths making extremly slow on LPE
(bzr r14719)
Diffstat (limited to 'src/live_effects/effect.cpp')
-rw-r--r--src/live_effects/effect.cpp4
1 files changed, 4 insertions, 0 deletions
diff --git a/src/live_effects/effect.cpp b/src/live_effects/effect.cpp
index 38d59a43a..deed7a0a1 100644
--- a/src/live_effects/effect.cpp
+++ b/src/live_effects/effect.cpp
@@ -467,6 +467,10 @@ void Effect::doBeforeEffect_impl(SPLPEItem const* lpeitem)
pathvector_before_effect = sp_curve->get_pathvector();
}
doBeforeEffect(lpeitem);
+ if (apply_to_clippath_and_mask && SP_IS_GROUP(sp_lpe_item)) {
+ sp_lpe_item->apply_to_clippath(sp_lpe_item);
+ sp_lpe_item->apply_to_mask(sp_lpe_item);
+ }
}
/**