Fix regression in Config->setenv affecting post-processing scripts. Includes regression test

This commit is contained in:
Alessandro Ranellucci 2014-02-09 23:14:32 +01:00
parent bba69ed22f
commit 634ccb33ab
2 changed files with 21 additions and 1 deletions

View file

@ -171,7 +171,7 @@ sub save {
sub setenv {
my $self = shift;
foreach my $opt_key (sort keys %$Options) {
foreach my $opt_key (@{$self->get_keys}) {
$ENV{"SLIC3R_" . uc $opt_key} = $self->serialize($opt_key);
}
}