diff options
| author | Tavmjong Bah <> | 2016-07-13 02:42:57 +0000 |
|---|---|---|
| committer | kamalpreetgrewal <grewalkamal005@gmail.com> | 2016-07-13 02:42:57 +0000 |
| commit | 798cda4430354143e90fb7ce81c3593a6dc24bc5 (patch) | |
| tree | 0daf3d324bf8f2ebc0ac3300bdcb6fff3a6251ad /src/sp-object.cpp | |
| parent | Merge changes from trunk (diff) | |
| download | inkscape-798cda4430354143e90fb7ce81c3593a6dc24bc5.tar.gz inkscape-798cda4430354143e90fb7ce81c3593a6dc24bc5.zip | |
Propagate changes to object tree with changes in style element
(bzr r14949.1.46)
Diffstat (limited to 'src/sp-object.cpp')
| -rw-r--r-- | src/sp-object.cpp | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/src/sp-object.cpp b/src/sp-object.cpp index d1659eedc..6d36ec833 100644 --- a/src/sp-object.cpp +++ b/src/sp-object.cpp @@ -1043,7 +1043,9 @@ Inkscape::XML::Node* SPObject::write(Inkscape::XML::Document *doc, Inkscape::XML } if (style) { - Glib::ustring s = style->write(SP_STYLE_FLAG_IFSET); + // Write if property set by style attribute in this object + Glib::ustring s = + style->write(SP_STYLE_FLAG_IFSET & SP_STYLE_FLAG_IFSRC, SP_STYLE_SRC_STYLE_PROP); // Check for valid attributes. This may be time consuming. // It is useful, though, for debugging Inkscape code. |
