From 87342d324caa3e745325aff1508821b0dfd8abe8 Mon Sep 17 00:00:00 2001 From: Alessandro Ranellucci Date: Sun, 5 Jan 2014 01:25:39 +0100 Subject: [PATCH] Fix typo --- lib/Slic3r/Format/AMF/Parser.pm | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lib/Slic3r/Format/AMF/Parser.pm b/lib/Slic3r/Format/AMF/Parser.pm index d67687f70..c99d71800 100644 --- a/lib/Slic3r/Format/AMF/Parser.pm +++ b/lib/Slic3r/Format/AMF/Parser.pm @@ -100,7 +100,7 @@ sub end_element { if ($self->{_material_metadata_type} =~ /^slic3r\.(.+)/) { my $opt_key = $1; if (exists $Slic3r::Config::Options->{$opt_key}) { - $self->{_material}->set_deserialize($opt_key, $self->{_material}->attributes->{$opt_key}); + $self->{_material}->config->set_deserialize($opt_key, $self->{_material}->attributes->{$opt_key}); } } $self->{_material_metadata_type} = undef;