This commit is contained in:
Alessandro Ranellucci 2014-01-05 01:25:39 +01:00
parent 4e76a9e4c9
commit 87342d324c

View File

@ -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;