summaryrefslogtreecommitdiffstats
path: root/src
diff options
context:
space:
mode:
authorLiam P. White <inkscapebrony@gmail.com>2014-08-01 14:20:42 +0000
committerLiam P. White <inkscapebrony@gmail.com>2014-08-01 14:20:42 +0000
commitd95b9fa8bd9aeacf16ab7075305edd19300bfe76 (patch)
treee425a065c0c67947bfa168fac6c280669edb379a /src
parentRename 'blend-mode' property to 'mix-blend-mode' per CSS spec. (diff)
downloadinkscape-d95b9fa8bd9aeacf16ab7075305edd19300bfe76.tar.gz
inkscape-d95b9fa8bd9aeacf16ab7075305edd19300bfe76.zip
Fix for #1348385 (filtered shape losing filter on conversion)
Fixed bugs: - https://launchpad.net/bugs/1348385 (bzr r13486)
Diffstat (limited to 'src')
-rw-r--r--src/style-internal.cpp3
1 files changed, 2 insertions, 1 deletions
diff --git a/src/style-internal.cpp b/src/style-internal.cpp
index ae70fc10d..2212f8fff 100644
--- a/src/style-internal.cpp
+++ b/src/style-internal.cpp
@@ -1395,7 +1395,8 @@ const Glib::ustring SPIFilter::write( guint const flags, SPIBase const *const /*
// TODO: fix base
//SPILength const *const my_base = dynamic_cast<const SPILength*>(base);
if ( (flags & SP_STYLE_FLAG_ALWAYS) ||
- ((flags & SP_STYLE_FLAG_IFSET) && this->set))
+ ((flags & SP_STYLE_FLAG_IFSET) && this->set) ||
+ ((flags & SP_STYLE_FLAG_IFDIFF) && this->set))
{
if (this->inherit) {
return (name + ":inherit;");