diff options
| author | Jabier Arraiza Cenoz <jabier.arraiza@marker.es> | 2014-06-11 15:18:58 +0000 |
|---|---|---|
| committer | Jabiertxof <jtx@jtx.marker.es> | 2014-06-11 15:18:58 +0000 |
| commit | ce72482fe0e31786dbb2c6d3273cafe9b11f0800 (patch) | |
| tree | b6a5bf75891e84203383642d73a04b0649845ccd /src/selection-chemistry.cpp | |
| parent | Fix for bugs 1318657 and 1298967 (diff) | |
| download | inkscape-ce72482fe0e31786dbb2c6d3273cafe9b11f0800.tar.gz inkscape-ce72482fe0e31786dbb2c6d3273cafe9b11f0800.zip | |
Fix for bug #1241902
(bzr r13418)
Diffstat (limited to 'src/selection-chemistry.cpp')
| -rw-r--r-- | src/selection-chemistry.cpp | 4 |
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); } |
