summaryrefslogtreecommitdiffstats
path: root/src/live_effects/lpe-lattice2.cpp
diff options
context:
space:
mode:
authorJabier Arraiza Cenoz <jabier.arraiza@marker.es>2014-09-29 02:01:20 +0000
committerJabiertxof <jtx@jtx.marker.es>2014-09-29 02:01:20 +0000
commitfaec2fcff4372e4ee4ce4e967b95747e3c52c241 (patch)
tree9276c803b5ab180f37c61ec491d772d0ecca102e /src/live_effects/lpe-lattice2.cpp
parentThis push add a partial solution to scale powerstroke shapes without distorsion (diff)
downloadinkscape-faec2fcff4372e4ee4ce4e967b95747e3c52c241.tar.gz
inkscape-faec2fcff4372e4ee4ce4e967b95747e3c52c241.zip
this patch fix the problem whith clips and mask update in live effects.
More info in the bug: https://bugs.launchpad.net/inkscape/+bug/1241902 (bzr r13341.1.229)
Diffstat (limited to 'src/live_effects/lpe-lattice2.cpp')
-rw-r--r--src/live_effects/lpe-lattice2.cpp3
1 files changed, 3 insertions, 0 deletions
diff --git a/src/live_effects/lpe-lattice2.cpp b/src/live_effects/lpe-lattice2.cpp
index db609c9e1..9dad78f6e 100644
--- a/src/live_effects/lpe-lattice2.cpp
+++ b/src/live_effects/lpe-lattice2.cpp
@@ -254,6 +254,9 @@ LPELattice2::doBeforeEffect (SPLPEItem const* lpeitem)
{
original_bbox(lpeitem);
setDefaults();
+ SPLPEItem * item = const_cast<SPLPEItem*>(lpeitem);
+ item->apply_to_clippath(item);
+ item->apply_to_mask(item);
}
void