summaryrefslogtreecommitdiffstats
path: root/src/path-chemistry.cpp
diff options
context:
space:
mode:
authorJabier Arraiza <jabier.arraiza@marker.es>2017-10-29 12:56:41 +0000
committerJabier Arraiza <jabier.arraiza@marker.es>2017-10-29 12:56:41 +0000
commit01225070a051a96818fd9d0c218cafb982cdce21 (patch)
treee3c1daa6bac4145aaf4eb39799e1024cfe402d14 /src/path-chemistry.cpp
parentsmall fix (diff)
downloadinkscape-01225070a051a96818fd9d0c218cafb982cdce21.tar.gz
inkscape-01225070a051a96818fd9d0c218cafb982cdce21.zip
Fix a bug converting to paths nested LPE with powerstroke
Diffstat (limited to '')
-rw-r--r--src/path-chemistry.cpp8
1 files changed, 6 insertions, 2 deletions
diff --git a/src/path-chemistry.cpp b/src/path-chemistry.cpp
index 67a742ed2..b3b0c8076 100644
--- a/src/path-chemistry.cpp
+++ b/src/path-chemistry.cpp
@@ -398,9 +398,13 @@ sp_item_list_to_curves(const std::vector<SPItem*> &items, std::vector<SPItem*>&
continue;
}
-
+
+ SPLPEItem *lpeitem = dynamic_cast<SPLPEItem *>(item);
+ if (lpeitem) {
+ lpeitem->removeAllPathEffects(true);
+ }
+
if (group) {
- group->removeAllPathEffects(true);
std::vector<SPItem*> item_list = sp_item_group_item_list(group);
std::vector<Inkscape::XML::Node*> item_to_select;