summaryrefslogtreecommitdiffstats
path: root/src/live_effects
diff options
context:
space:
mode:
Diffstat (limited to 'src/live_effects')
-rw-r--r--src/live_effects/lpe-copy_rotate.cpp1
-rw-r--r--src/live_effects/lpe-powerclip.cpp1
2 files changed, 2 insertions, 0 deletions
diff --git a/src/live_effects/lpe-copy_rotate.cpp b/src/live_effects/lpe-copy_rotate.cpp
index 6bf2a78bd..8071c19d2 100644
--- a/src/live_effects/lpe-copy_rotate.cpp
+++ b/src/live_effects/lpe-copy_rotate.cpp
@@ -213,6 +213,7 @@ LPECopyRotate::cloneD(SPObject *orig, SPObject *dest, Geom::Affine transform, bo
SPPath * path = SP_PATH(dest);
if (shape && !path) {
const char * id = dest->getId();
+ shape->removeAllPathEffects(true);
Inkscape::XML::Node *dest_node = sp_selected_item_to_curved_repr(SP_ITEM(dest), 0);
dest->updateRepr(xml_doc, dest_node, SP_OBJECT_WRITE_ALL);
dest->getRepr()->setAttribute("d", id);
diff --git a/src/live_effects/lpe-powerclip.cpp b/src/live_effects/lpe-powerclip.cpp
index 60237b54e..b27dea3e7 100644
--- a/src/live_effects/lpe-powerclip.cpp
+++ b/src/live_effects/lpe-powerclip.cpp
@@ -98,6 +98,7 @@ LPEPowerClip::doBeforeEffect (SPLPEItem const* lpeitem){
return;
}
Inkscape::XML::Document *xml_doc = document->getReprDoc();
+ SP_SHAPE(clip_data)->removeAllPathEffects(true);
Inkscape::XML::Node *clip_path_node = sp_selected_item_to_curved_repr(SP_ITEM(clip_data), 0);
// remember the position of the item
gint pos = clip_data->getRepr()->position();