mirror of
https://github.com/OrcaSlicer/OrcaSlicer.git
synced 2026-05-16 18:12:10 +00:00
Fixed regression causing bad loading of multi-extruder values in GUI. #1984
This commit is contained in:
@@ -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";
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user