From 4ef05efc2175d330cdd17e09e855b1daf1436c38 Mon Sep 17 00:00:00 2001 From: buliabyak Date: Sat, 3 Mar 2007 07:18:21 +0000 Subject: [PATCH] the SP_IS_GAUSSIANBLUR fix is not only for shapes. fixme: this boilerplate definitely needs to be factored out --- src/display/nr-arena-group.cpp | 2 +- src/display/nr-arena-image.cpp | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/src/display/nr-arena-group.cpp b/src/display/nr-arena-group.cpp index 9c790eb97..0678eb37e 100644 --- a/src/display/nr-arena-group.cpp +++ b/src/display/nr-arena-group.cpp @@ -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); diff --git a/src/display/nr-arena-image.cpp b/src/display/nr-arena-image.cpp index 32e29ac07..1b4f3341c 100644 --- a/src/display/nr-arena-image.cpp +++ b/src/display/nr-arena-image.cpp @@ -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); -- 2.30.2