Fix positioning of loded AMF plates

This commit is contained in:
Alessandro Ranellucci 2014-01-05 14:04:32 +01:00
parent 036badf932
commit 2754ddf215
2 changed files with 37 additions and 31 deletions

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}->config->set_deserialize($opt_key, $self->{_material}->attributes->{$opt_key});
$self->{_material}->config->set_deserialize($opt_key, $self->{_material}->attributes->{"slic3r.$opt_key"});
}
}
$self->{_material_metadata_type} = undef;