Code

the SP_IS_GAUSSIANBLUR fix is not only for shapes. fixme: this boilerplate definitely...
authorbuliabyak <buliabyak@users.sourceforge.net>
Sat, 3 Mar 2007 07:18:21 +0000 (07:18 +0000)
committerbuliabyak <buliabyak@users.sourceforge.net>
Sat, 3 Mar 2007 07:18:21 +0000 (07:18 +0000)
src/display/nr-arena-group.cpp
src/display/nr-arena-image.cpp

index 9c790eb97d4d6b332795983e807b68896c5df75f..0678eb37ecf3672668d353faae60e50ca56f1725 100644 (file)
@@ -206,7 +206,7 @@ void nr_arena_group_set_style (NRArenaGroup *group, SPStyle *style)
         {
             SPFilterPrimitive *primitive = style->filter.filter->_primitives[i];
             //if primitive is gaussianblur
-//            if(SP_IS_GAUSSIANBLUR(primitive))
+            if(SP_IS_GAUSSIANBLUR(primitive))
             {
                 NR::FilterGaussian * gaussian = (NR::FilterGaussian *) group->filter->add_primitive(NR::NR_FILTER_GAUSSIANBLUR);
                 SPGaussianBlur * spblur = SP_GAUSSIANBLUR(primitive);
index 32e29ac07d05b9438eeed5738bc74928d75b2501..1b4f3341c8b4b12e85da3e2655dc0afd644224ce 100644 (file)
@@ -379,7 +379,7 @@ void nr_arena_image_set_style (NRArenaImage *image, SPStyle *style)
         {
             SPFilterPrimitive *primitive = style->filter.filter->_primitives[i];
             //if primitive is gaussianblur
-//            if(SP_IS_GAUSSIANBLUR(primitive))
+            if(SP_IS_GAUSSIANBLUR(primitive))
             {
                 NR::FilterGaussian * gaussian = (NR::FilterGaussian *) image->filter->add_primitive(NR::NR_FILTER_GAUSSIANBLUR);
                 SPGaussianBlur * spblur = SP_GAUSSIANBLUR(primitive);