summaryrefslogtreecommitdiffstats
path: root/src/live_effects/lpe-lattice2.cpp
diff options
context:
space:
mode:
authorJabier Arraiza Cenoz <jabier.arraiza@marker.es>2016-03-02 19:34:31 +0000
committerjabiertxof <info@marker.es>2016-03-02 19:34:31 +0000
commit4aba6b92f30733f400891d2c3a6d77c1ae1d7a47 (patch)
tree68e2fff928c1f7306e9bdef0abfeb3fbfc1350f8 /src/live_effects/lpe-lattice2.cpp
parentAnother small change to miter-limit for 'arcs' join to match SVG spec. (diff)
downloadinkscape-4aba6b92f30733f400891d2c3a6d77c1ae1d7a47.tar.gz
inkscape-4aba6b92f30733f400891d2c3a6d77c1ae1d7a47.zip
Fix for bug 1540070
Fixed bugs: - https://launchpad.net/bugs/1540070 (bzr r14678)
Diffstat (limited to 'src/live_effects/lpe-lattice2.cpp')
-rw-r--r--src/live_effects/lpe-lattice2.cpp4
1 files changed, 1 insertions, 3 deletions
diff --git a/src/live_effects/lpe-lattice2.cpp b/src/live_effects/lpe-lattice2.cpp
index b749370fa..0c403daec 100644
--- a/src/live_effects/lpe-lattice2.cpp
+++ b/src/live_effects/lpe-lattice2.cpp
@@ -103,6 +103,7 @@ LPELattice2::LPELattice2(LivePathEffectObject *lpeobject) :
registerParameter(&grid_point_28x30);
registerParameter(&grid_point_29x31);
registerParameter(&grid_point_32x33x34x35);
+ apply_to_clippath_and_mask = true;
}
LPELattice2::~LPELattice2()
@@ -358,9 +359,6 @@ LPELattice2::doBeforeEffect (SPLPEItem const* lpeitem)
horizontal(grid_point_17, grid_point_19,horiz);
horizontal(grid_point_20x21, grid_point_22x23,horiz);
}
- SPLPEItem * item = const_cast<SPLPEItem*>(lpeitem);
- item->apply_to_clippath(item);
- item->apply_to_mask(item);
}
void