summaryrefslogtreecommitdiffstats
path: root/src/live_effects
diff options
context:
space:
mode:
authorJabiertxof <jabier.arraiza@marker.es>2019-05-01 07:26:05 +0000
committerJabiertxof <jabier.arraiza@marker.es>2019-05-01 07:26:05 +0000
commit56f1b1b8432b2b5f674d5428488494ebabd7abda (patch)
tree4628a40e566d3edfd27d44f71ab24c987e598146 /src/live_effects
parentSet spacing in About Dialog (diff)
downloadinkscape-56f1b1b8432b2b5f674d5428488494ebabd7abda.tar.gz
inkscape-56f1b1b8432b2b5f674d5428488494ebabd7abda.zip
Allow LPE retain elements on convert to paths inside the original defs object
Diffstat (limited to 'src/live_effects')
-rw-r--r--src/live_effects/effect.cpp4
1 files changed, 3 insertions, 1 deletions
diff --git a/src/live_effects/effect.cpp b/src/live_effects/effect.cpp
index 07081286a..d9e3219e0 100644
--- a/src/live_effects/effect.cpp
+++ b/src/live_effects/effect.cpp
@@ -1204,7 +1204,9 @@ Effect::processObjects(LPEAction lpe_action)
sp_item_list_to_curves(item_list, item_selected, item_to_select);
}
elemnode->setAttribute("sodipodi:insensitive", nullptr);
- SP_ITEM(elemref)->moveTo(SP_ITEM(sp_lpe_item), false);
+ if (!SP_IS_DEFS(SP_ITEM(elemref)->parent)) {
+ SP_ITEM(elemref)->moveTo(SP_ITEM(sp_lpe_item), false);
+ }
}
break;