summaryrefslogtreecommitdiffstats
path: root/src/seltrans.cpp
diff options
context:
space:
mode:
authorJabier Arraiza <jabier.arraiza@marker.es>2018-10-01 13:43:39 +0000
committerJabier Arraiza <jabier.arraiza@marker.es>2018-10-01 13:43:39 +0000
commit5c3843e6bfa85baf9fc807dc169f571da444fda2 (patch)
tree1fc0bc19c7cf711d212f03489348d9488c080e62 /src/seltrans.cpp
parentImprovements to transforms in LPE (diff)
downloadinkscape-5c3843e6bfa85baf9fc807dc169f571da444fda2.tar.gz
inkscape-5c3843e6bfa85baf9fc807dc169f571da444fda2.zip
Fix for bug #263620 comment 5,
Duplicating LPE path more like clone
Diffstat (limited to 'src/seltrans.cpp')
-rw-r--r--src/seltrans.cpp6
1 files changed, 5 insertions, 1 deletions
diff --git a/src/seltrans.cpp b/src/seltrans.cpp
index a970d50ab..8b33a9ee2 100644
--- a/src/seltrans.cpp
+++ b/src/seltrans.cpp
@@ -572,8 +572,12 @@ void Inkscape::SelTrans::stamp()
if ( copy_item->isCenterSet() && _center ) {
copy_item->setCenter(*_center * _current_relative_affine);
}
-
Inkscape::GC::release(copy_repr);
+ SPLPEItem * lpeitem = dynamic_cast<SPLPEItem *>(copy_item);
+ if(lpeitem && lpeitem->hasPathEffectRecursive()) {
+ lpeitem->forkPathEffectsIfNecessary(1);
+ sp_lpe_item_update_patheffect(lpeitem, true, true);
+ }
}
DocumentUndo::done(_desktop->getDocument(), SP_VERB_CONTEXT_SELECT,
_("Stamp"));