From 98e786e3b7c687fdff277130e04cb0aa4fbe5343 Mon Sep 17 00:00:00 2001 From: Nicholas Bishop Date: Sun, 22 Jul 2007 19:46:00 +0000 Subject: Filter effects dialog: Created simple controls for feConvolveMatrix. Currently only handles attributes order and kernelMatrix. (bzr r3277) --- src/filter-chemistry.cpp | 2 ++ 1 file changed, 2 insertions(+) (limited to 'src/filter-chemistry.cpp') diff --git a/src/filter-chemistry.cpp b/src/filter-chemistry.cpp index 9317ed082..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; -- cgit v1.2.3