diff options
| author | Jabier Arraiza <jabier.arraiza@marker.es> | 2018-09-29 19:29:21 +0000 |
|---|---|---|
| committer | Jabier Arraiza <jabier.arraiza@marker.es> | 2018-09-29 19:29:21 +0000 |
| commit | 93d59978c35a4b57e141194050d027ef24f08ffb (patch) | |
| tree | 2ac5f2dd5a51411edd6c02d71b299e67eefccf69 /src/ui | |
| parent | Fix bug: #1644805 (diff) | |
| download | inkscape-93d59978c35a4b57e141194050d027ef24f08ffb.tar.gz inkscape-93d59978c35a4b57e141194050d027ef24f08ffb.zip | |
Fix for bug:#1005036
Pasting a powerstroke resets the width controls
Diffstat (limited to 'src/ui')
| -rw-r--r-- | src/ui/clipboard.cpp | 5 |
1 files changed, 2 insertions, 3 deletions
diff --git a/src/ui/clipboard.cpp b/src/ui/clipboard.cpp index 65a704278..a56529dea 100644 --- a/src/ui/clipboard.cpp +++ b/src/ui/clipboard.cpp @@ -1108,9 +1108,6 @@ void ClipboardManagerImpl::_applyPathEffect(SPItem *item, gchar const *effectsta SPLPEItem *lpeitem = dynamic_cast<SPLPEItem *>(item); if (lpeitem) { - // for each effect in the stack, check if we need to fork it before adding it to the item - lpeitem->forkPathEffectsIfNecessary(1); - std::istringstream iss(effectstack); std::string href; while (std::getline(iss, href, ';')) @@ -1122,6 +1119,8 @@ void ClipboardManagerImpl::_applyPathEffect(SPItem *item, gchar const *effectsta LivePathEffectObject *lpeobj = LIVEPATHEFFECT(obj); lpeitem->addPathEffect(lpeobj); } + // for each effect in the stack, check if we need to fork it before adding it to the item + lpeitem->forkPathEffectsIfNecessary(1); } } |
