summaryrefslogtreecommitdiffstats
path: root/src
diff options
context:
space:
mode:
authoroctycs <2087987-octycs@users.noreply.gitlab.com>2019-01-06 17:39:13 +0000
committeroctycs <2087987-octycs@users.noreply.gitlab.com>2019-01-06 17:39:13 +0000
commit84a7d6a7e7976e8d4d205b2e729c85e964398ef9 (patch)
tree35a4f0716a3e9e4bf80086a0b16da421bc4bb396 /src
parentUpdate Russian translation (diff)
downloadinkscape-84a7d6a7e7976e8d4d205b2e729c85e964398ef9.tar.gz
inkscape-84a7d6a7e7976e8d4d205b2e729c85e964398ef9.zip
Fix segfault when a masked object is transformed
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());
}
}