diff options
| author | Jabier Arraiza Cenoz <jabier.arraiza@marker.es> | 2014-11-12 17:58:18 +0000 |
|---|---|---|
| committer | Jabiertxof <jtx@jtx.marker.es> | 2014-11-12 17:58:18 +0000 |
| commit | 922a3d737c578c3de5343704f81e0db85e028278 (patch) | |
| tree | 9ab3d4ccf058eca17bc00c54271dbe67357621e5 /src/selection-chemistry.cpp | |
| parent | Fixed bug in node point selection to LPE. (diff) | |
| download | inkscape-922a3d737c578c3de5343704f81e0db85e028278.tar.gz inkscape-922a3d737c578c3de5343704f81e0db85e028278.zip | |
Fix a bug releasing LPE clip and mask
(bzr r13705)
Diffstat (limited to 'src/selection-chemistry.cpp')
| -rw-r--r-- | src/selection-chemistry.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/selection-chemistry.cpp b/src/selection-chemistry.cpp index d0ef0afea..d00e8d702 100644 --- a/src/selection-chemistry.cpp +++ b/src/selection-chemistry.cpp @@ -4186,7 +4186,7 @@ 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")) + if(copy->attribute("inkscape:original-d") && copy->attribute("inkscape:path-effect")) { copy->setAttribute("d", copy->attribute("inkscape:original-d")); } |
