mirror of
https://git.mirrors.martin98.com/https://github.com/slic3r/Slic3r.git
synced 2025-08-02 09:20:40 +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 {
|
sub load_config {
|
||||||
my ($self) = @_;
|
my ($self) = @_;
|
||||||
|
|
||||||
return if $self->_loaded;
|
return $self->_config if $self->_loaded;
|
||||||
|
|
||||||
my @keys = $self->_group_class->options;
|
my @keys = $self->_group_class->options;
|
||||||
my @extra_keys = $self->_group_class->overriding_options;
|
my @extra_keys = $self->_group_class->overriding_options;
|
||||||
|
Loading…
x
Reference in New Issue
Block a user