diff options
Diffstat (limited to 'src/path-chemistry.cpp')
| -rw-r--r-- | src/path-chemistry.cpp | 26 |
1 files changed, 13 insertions, 13 deletions
diff --git a/src/path-chemistry.cpp b/src/path-chemistry.cpp index 7ee811dc9..95b55a829 100644 --- a/src/path-chemistry.cpp +++ b/src/path-chemistry.cpp @@ -380,19 +380,6 @@ sp_item_list_to_curves(const std::vector<SPItem*> &items, std::vector<SPItem*>& continue; } - SPPath *path = dynamic_cast<SPPath *>(item); - if (path && !path->hasPathEffect()) { - // remove connector attributes - if (item->getAttribute("inkscape:connector-type") != NULL) { - item->removeAttribute("inkscape:connection-start"); - item->removeAttribute("inkscape:connection-end"); - item->removeAttribute("inkscape:connector-type"); - item->removeAttribute("inkscape:connector-curvature"); - did = true; - } - continue; // already a path, and no path effect - } - SPBox3D *box = dynamic_cast<SPBox3D *>(item); if (box) { // convert 3D box to ordinary group of paths; replace the old element in 'selected' with the new group @@ -412,6 +399,19 @@ sp_item_list_to_curves(const std::vector<SPItem*> &items, std::vector<SPItem*>& lpeitem->removeAllPathEffects(true); } + SPPath *path = dynamic_cast<SPPath *>(item); + if (path) { + // remove connector attributes + if (item->getAttribute("inkscape:connector-type") != NULL) { + item->removeAttribute("inkscape:connection-start"); + item->removeAttribute("inkscape:connection-end"); + item->removeAttribute("inkscape:connector-type"); + item->removeAttribute("inkscape:connector-curvature"); + did = true; + } + continue; // already a path, and no path effect + } + if (group) { std::vector<SPItem*> item_list = sp_item_group_item_list(group); |
