summaryrefslogtreecommitdiffstats
path: root/src/selection-chemistry.cpp
diff options
context:
space:
mode:
authorJabier Arraiza Cenoz <jabier.arraiza@marker.es>2014-11-13 17:04:22 +0000
committerJabiertxof <jtx@jtx.marker.es>2014-11-13 17:04:22 +0000
commit165025d5aa43570d3905d312632199efddd45c9a (patch)
tree41cb1a192ecac0a4f4ee6e24af28f503ca0617d7 /src/selection-chemistry.cpp
parentupdate to trunk (diff)
downloadinkscape-165025d5aa43570d3905d312632199efddd45c9a.tar.gz
inkscape-165025d5aa43570d3905d312632199efddd45c9a.zip
Fixed bugs pointed by su_v.
Added inverse option to merges (bzr r13682.1.6)
Diffstat (limited to 'src/selection-chemistry.cpp')
-rw-r--r--src/selection-chemistry.cpp2
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"));
}