summaryrefslogtreecommitdiffstats
path: root/src/path-chemistry.cpp
diff options
context:
space:
mode:
authorNicolas Dufour <nicoduf@yahoo.fr>2013-05-01 05:46:14 +0000
committerJazzyNico <nicoduf@yahoo.fr>2013-05-01 05:46:14 +0000
commit35cfa841442a09840a2f56ec64767959330319e9 (patch)
tree052465b16987fabd7b595bb70ee8a9235965cd1e /src/path-chemistry.cpp
parentUI messages (diff)
downloadinkscape-35cfa841442a09840a2f56ec64767959330319e9.tar.gz
inkscape-35cfa841442a09840a2f56ec64767959330319e9.zip
Fix for Bug #257223 (Object to Path should work for Connectors) by Matthew Petroff.
Fixed bugs: - https://launchpad.net/bugs/257223 (bzr r12313)
Diffstat (limited to 'src/path-chemistry.cpp')
-rw-r--r--src/path-chemistry.cpp8
1 files changed, 8 insertions, 0 deletions
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
}