summaryrefslogtreecommitdiffstats
path: root/src/selection-chemistry.cpp
diff options
context:
space:
mode:
authorLiam P. White <inkscapebronyat-signgmaildotcom>2014-06-14 15:02:20 +0000
committerLiam P. White <inkscapebronyat-signgmaildotcom>2014-06-14 15:02:20 +0000
commit9f0c5f6c387b155ad6a864c202eafff27f1280a6 (patch)
treee0cfaa0ac816be73d960e09a8cf006b1751b355b /src/selection-chemistry.cpp
parentUpdate to experimental r13389 (diff)
parentRemoved original path helper paths pointed by LiamW (diff)
downloadinkscape-9f0c5f6c387b155ad6a864c202eafff27f1280a6.tar.gz
inkscape-9f0c5f6c387b155ad6a864c202eafff27f1280a6.zip
Update to experimental r13402
(bzr r13090.1.82)
Diffstat (limited to 'src/selection-chemistry.cpp')
-rw-r--r--src/selection-chemistry.cpp4
1 files changed, 4 insertions, 0 deletions
diff --git a/src/selection-chemistry.cpp b/src/selection-chemistry.cpp
index 868a9d743..a350dd7a7 100644
--- a/src/selection-chemistry.cpp
+++ b/src/selection-chemistry.cpp
@@ -3950,6 +3950,10 @@ void sp_selection_unset_mask(SPDesktop *desktop, bool apply_clip_path) {
for ( SPObject *child = obj->firstChild() ; child; child = child->getNext() ) {
// Collect all clipped paths and masks within a single group
Inkscape::XML::Node *copy = SP_OBJECT(child)->getRepr()->duplicate(xml_doc);
+ if(copy->attribute("inkscape:original-d"))
+ {
+ copy->setAttribute("d", copy->attribute("inkscape:original-d"));
+ }
items_to_move = g_slist_prepend(items_to_move, copy);
}