summaryrefslogtreecommitdiffstats
path: root/src/path-chemistry.cpp
diff options
context:
space:
mode:
authorJabier Arraiza Cenoz <jabier.arraiza@marker.es>2013-05-06 00:57:18 +0000
committerJabiertxo Arraiza Zenotz <jtx@jtx.marker.es>2013-05-06 00:57:18 +0000
commit658579b7ba73d404953808a0b399c747d7724804 (patch)
tree8032e88a23b043b876e19eb7ac99663ff96d0a4e /src/path-chemistry.cpp
parentRemoved auto select nodes, not decide for the user. Added auto update all sel... (diff)
parentFix for 1171434 : trunk: INX <optiongroup> broken^ (diff)
downloadinkscape-658579b7ba73d404953808a0b399c747d7724804.tar.gz
inkscape-658579b7ba73d404953808a0b399c747d7724804.zip
update to trunk
(bzr r11950.1.112)
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
}