summaryrefslogtreecommitdiffstats
path: root/src/live_effects/lpe-lattice.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/live_effects/lpe-lattice.cpp')
-rw-r--r--src/live_effects/lpe-lattice.cpp5
1 files changed, 1 insertions, 4 deletions
diff --git a/src/live_effects/lpe-lattice.cpp b/src/live_effects/lpe-lattice.cpp
index c05bae7e1..3c23e349e 100644
--- a/src/live_effects/lpe-lattice.cpp
+++ b/src/live_effects/lpe-lattice.cpp
@@ -78,7 +78,7 @@ LPELattice::LPELattice(LivePathEffectObject *lpeobject) :
registerParameter( dynamic_cast<Parameter *>(&grid_point14) );
registerParameter( dynamic_cast<Parameter *>(&grid_point15) );
-
+ apply_to_clippath_and_mask = true;
}
LPELattice::~LPELattice()
@@ -176,9 +176,6 @@ void
LPELattice::doBeforeEffect (SPLPEItem const* lpeitem)
{
original_bbox(lpeitem);
- SPLPEItem * item = const_cast<SPLPEItem*>(lpeitem);
- item->apply_to_clippath(item);
- item->apply_to_mask(item);
}
void