summaryrefslogtreecommitdiffstats
path: root/src/live_effects/lpe-bendpath.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-bendpath.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-bendpath.cpp')
-rw-r--r--src/live_effects/lpe-bendpath.cpp5
1 files changed, 1 insertions, 4 deletions
diff --git a/src/live_effects/lpe-bendpath.cpp b/src/live_effects/lpe-bendpath.cpp
index d7c0b69a4..bc112285f 100644
--- a/src/live_effects/lpe-bendpath.cpp
+++ b/src/live_effects/lpe-bendpath.cpp
@@ -81,6 +81,7 @@ LPEBendPath::LPEBendPath(LivePathEffectObject *lpeobject) :
prop_scale.param_set_increments(0.01, 0.10);
_provides_knotholder_entities = true;
+ apply_to_clippath_and_mask = true;
concatenate_before_pwd2 = true;
}
@@ -95,10 +96,6 @@ LPEBendPath::doBeforeEffect (SPLPEItem const* lpeitem)
// get the item bounding box
original_bbox(lpeitem);
original_height = boundingbox_Y.max() - boundingbox_Y.min();
- SPLPEItem * item = const_cast<SPLPEItem*>(lpeitem);
-
- item->apply_to_clippath(item);
- item->apply_to_mask(item);
}
Geom::Piecewise<Geom::D2<Geom::SBasis> >