mirror of
https://git.mirrors.martin98.com/https://github.com/slic3r/Slic3r.git
synced 2025-07-31 18:52:04 +08:00
Make Preset::load_config return a config if it short-circuits. Fixes #3996
This commit is contained in:
parent
c36fadd297
commit
1d6170bcf8
@ -183,7 +183,7 @@ sub dirty_config {
|
||||
sub load_config {
|
||||
my ($self) = @_;
|
||||
|
||||
return if $self->_loaded;
|
||||
return $self->_config if $self->_loaded;
|
||||
|
||||
my @keys = $self->_group_class->options;
|
||||
my @extra_keys = $self->_group_class->overriding_options;
|
||||
|
Loading…
x
Reference in New Issue
Block a user