diff options
| author | octycs <2087987-octycs@users.noreply.gitlab.com> | 2019-01-06 17:39:13 +0000 |
|---|---|---|
| committer | octycs <2087987-octycs@users.noreply.gitlab.com> | 2019-01-06 17:39:13 +0000 |
| commit | 84a7d6a7e7976e8d4d205b2e729c85e964398ef9 (patch) | |
| tree | 35a4f0716a3e9e4bf80086a0b16da421bc4bb396 /src/object | |
| parent | Update Russian translation (diff) | |
| download | inkscape-84a7d6a7e7976e8d4d205b2e729c85e964398ef9.tar.gz inkscape-84a7d6a7e7976e8d4d205b2e729c85e964398ef9.zip | |
Fix segfault when a masked object is transformed
Diffstat (limited to 'src/object')
| -rw-r--r-- | src/object/sp-item.cpp | 2 |
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()); } } |
