From d95b9fa8bd9aeacf16ab7075305edd19300bfe76 Mon Sep 17 00:00:00 2001 From: "Liam P. White" Date: Fri, 1 Aug 2014 10:20:42 -0400 Subject: Fix for #1348385 (filtered shape losing filter on conversion) Fixed bugs: - https://launchpad.net/bugs/1348385 (bzr r13486) --- src/style-internal.cpp | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) (limited to 'src/style-internal.cpp') 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(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;"); -- cgit v1.2.3