summaryrefslogtreecommitdiffstats
path: root/src
diff options
context:
space:
mode:
authorMarc Jeanmougin <marc@jeanmougin.fr>2019-01-06 19:04:34 +0000
committerMarc Jeanmougin <marc@jeanmougin.fr>2019-01-06 19:04:34 +0000
commit237199d1114f6f484f488cb5250c17145ca36275 (patch)
tree0282b5d33356eaa64b07b36aecaffff0c35ae456 /src
parentMerge branch 'patch-2' of gitlab.com:octycs/inkscape (diff)
parentFix segfault when a masked object is transformed (diff)
downloadinkscape-237199d1114f6f484f488cb5250c17145ca36275.tar.gz
inkscape-237199d1114f6f484f488cb5250c17145ca36275.zip
Merge branch 'patch-1' of gitlab.com:octycs/inkscape
Diffstat (limited to 'src')
-rw-r--r--src/object/sp-item.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/object/sp-item.cpp b/src/object/sp-item.cpp
index 5157ff7eb..cba70f126 100644
--- a/src/object/sp-item.cpp
+++ b/src/object/sp-item.cpp
@@ -754,7 +754,7 @@ Inkscape::XML::Node* SPItem::write(Inkscape::XML::Document *xml_doc, Inkscape::X
}
if (item->mask_ref){
if (item->mask_ref->getObject()) {
- auto value = item->clip_ref->getURI()->cssStr();
+ auto value = item->mask_ref->getURI()->cssStr();
repr->setAttribute("mask", value.c_str());
}
}