Code

fix setting blend mode to Normal
authorbuliabyak <buliabyak@users.sourceforge.net>
Sat, 29 Nov 2008 05:31:11 +0000 (05:31 +0000)
committerbuliabyak <buliabyak@users.sourceforge.net>
Sat, 29 Nov 2008 05:31:11 +0000 (05:31 +0000)
src/ui/widget/object-composite-settings.cpp

index 3ef4c732877d597cc4cd9c92c513e59eb9e0bfc9..ea1e8086db18c10380a6d0eb95768056578ed4dd 100644 (file)
@@ -149,6 +149,8 @@ ObjectCompositeSettings::_blendBlurValueChanged()
         if (blendmode != "normal") {
             SPFilter *filter = new_filter_simple_from_item(document, item, blendmode.c_str(), radius);
             sp_style_set_property_url(item, "filter", filter, false);
+        } else {
+            sp_style_set_property_url(item, "filter", NULL, false);
         }
 
         if (radius == 0 && item->style->filter.set