X-Git-Url: https://git.tokkee.org/?a=blobdiff_plain;ds=sidebyside;f=src%2Ffilter-chemistry.cpp;h=e0dbee9ea8b8b2ef41d92ba78038c0c4e0faa2b1;hb=aec7a0781472450c98c74c107a9a36528dbb9872;hp=d9bf33d60ca1a3489adc7591e3aea7827e4fa3f3;hpb=c9f29ccf73d68064b0e869847ce640bd27b94b82;p=inkscape.git diff --git a/src/filter-chemistry.cpp b/src/filter-chemistry.cpp index d9bf33d60..e0dbee9ea 100644 --- a/src/filter-chemistry.cpp +++ b/src/filter-chemistry.cpp @@ -135,6 +135,8 @@ filter_add_primitive(SPFilter *filter, const NR::FilterPrimitiveType type) case NR::NR_FILTER_COMPOSITE: break; case NR::NR_FILTER_CONVOLVEMATRIX: + repr->setAttribute("order", "3 3"); + repr->setAttribute("kernelMatrix", "0 0 0 0 0 0 0 0 0"); break; case NR::NR_FILTER_DIFFUSELIGHTING: break; @@ -143,7 +145,7 @@ filter_add_primitive(SPFilter *filter, const NR::FilterPrimitiveType type) case NR::NR_FILTER_FLOOD: break; case NR::NR_FILTER_GAUSSIANBLUR: - repr->setAttribute("stddeviation", "1"); + repr->setAttribute("stdDeviation", "1"); break; case NR::NR_FILTER_IMAGE: break;