diff options
| author | Jabier Arraiza Cenoz <jabier.arraiza@marker.es> | 2014-09-29 02:01:20 +0000 |
|---|---|---|
| committer | Jabiertxof <jtx@jtx.marker.es> | 2014-09-29 02:01:20 +0000 |
| commit | faec2fcff4372e4ee4ce4e967b95747e3c52c241 (patch) | |
| tree | 9276c803b5ab180f37c61ec491d772d0ecca102e /src/selection-chemistry.cpp | |
| parent | This push add a partial solution to scale powerstroke shapes without distorsion (diff) | |
| download | inkscape-faec2fcff4372e4ee4ce4e967b95747e3c52c241.tar.gz inkscape-faec2fcff4372e4ee4ce4e967b95747e3c52c241.zip | |
this patch fix the problem whith clips and mask update in live effects.
More info in the bug: https://bugs.launchpad.net/inkscape/+bug/1241902
(bzr r13341.1.229)
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 7c614a581..956e1719c 100644 --- a/src/selection-chemistry.cpp +++ b/src/selection-chemistry.cpp @@ -4063,6 +4063,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); } |
