1
0
mirror of https://github.com/FULU-Foundation/OrcaSlicer-bambulab.git synced 2026-07-11 08:04:25 +00:00

Fixed regression causing bad loading of multi-extruder values in GUI. #1984

This commit is contained in:
Alessandro Ranellucci
2014-04-28 22:31:29 +02:00
parent f7421053cc
commit 0b0ec7be37
+1 -1
View File
@@ -743,7 +743,7 @@ sub _build_extruder_pages {
# extend options
foreach my $opt_key ($self->_extruder_options) {
my $values = $self->{config}->get($opt_key);
$values->[$extruder_idx] = $default_config->get_at($opt_key, 0);
$values->[$extruder_idx] //= $default_config->get_at($opt_key, 0);
$self->{config}->set($opt_key, $values)
or die "Unable to extend $opt_key";
}