diff options
| author | Jabier Arraiza Cenoz <jabier.arraiza@marker.es> | 2014-06-07 11:15:07 +0000 |
|---|---|---|
| committer | Jabiertxof <jtx@jtx.marker.es> | 2014-06-07 11:15:07 +0000 |
| commit | 5b67a95f4477d1a69e9a0f100d71a77277d86ef2 (patch) | |
| tree | 8ce58a552f29107488147cc29bb6c6a435d96b0a /src/selection-chemistry.cpp | |
| parent | Undo changes in r13391 (diff) | |
| download | inkscape-5b67a95f4477d1a69e9a0f100d71a77277d86ef2.tar.gz inkscape-5b67a95f4477d1a69e9a0f100d71a77277d86ef2.zip | |
Fix for Bug #1241902 -
(bzr r13341.1.52)
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); } |
