From 35cfa841442a09840a2f56ec64767959330319e9 Mon Sep 17 00:00:00 2001 From: Nicolas Dufour Date: Wed, 1 May 2013 07:46:14 +0200 Subject: Fix for Bug #257223 (Object to Path should work for Connectors) by Matthew Petroff. Fixed bugs: - https://launchpad.net/bugs/257223 (bzr r12313) --- src/path-chemistry.cpp | 8 ++++++++ 1 file changed, 8 insertions(+) (limited to 'src/path-chemistry.cpp') diff --git a/src/path-chemistry.cpp b/src/path-chemistry.cpp index 67c097067..b192904ce 100644 --- a/src/path-chemistry.cpp +++ b/src/path-chemistry.cpp @@ -382,6 +382,14 @@ sp_item_list_to_curves(const GSList *items, GSList **selected, GSList **to_selec } if (SP_IS_PATH(item) && !SP_SHAPE(item)->_curve_before_lpe) { + // 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 } -- cgit v1.2.3