summaryrefslogtreecommitdiff
path: root/src/filters/lighting.rs
diff options
context:
space:
mode:
Diffstat (limited to 'src/filters/lighting.rs')
-rw-r--r--src/filters/lighting.rs8
1 files changed, 4 insertions, 4 deletions
diff --git a/src/filters/lighting.rs b/src/filters/lighting.rs
index 3d4c73a5..e173f120 100644
--- a/src/filters/lighting.rs
+++ b/src/filters/lighting.rs
@@ -333,8 +333,8 @@ fn transform_dist(t: Transform, d: f64) -> f64 {
}
impl SetAttributes for FeDiffuseLighting {
- fn set_attributes(&mut self, attrs: &Attributes, _session: &Session) -> ElementResult {
- self.params.in1 = self.base.parse_one_input(attrs)?;
+ fn set_attributes(&mut self, attrs: &Attributes, session: &Session) -> ElementResult {
+ self.params.in1 = self.base.parse_one_input(attrs, session)?;
for (attr, value) in attrs.iter() {
match attr.expanded() {
@@ -378,8 +378,8 @@ impl DiffuseLighting {
}
impl SetAttributes for FeSpecularLighting {
- fn set_attributes(&mut self, attrs: &Attributes, _session: &Session) -> ElementResult {
- self.params.in1 = self.base.parse_one_input(attrs)?;
+ fn set_attributes(&mut self, attrs: &Attributes, session: &Session) -> ElementResult {
+ self.params.in1 = self.base.parse_one_input(attrs, session)?;
for (attr, value) in attrs.iter() {
match attr.expanded() {