mirror of
https://github.com/SoftFever/OrcaSlicer.git
synced 2025-07-16 03:07:55 -06:00
Fixed layer heights profile invalidated when loading model from amf file
This commit is contained in:
parent
ccd1c01d0b
commit
3cd7987af4
1 changed files with 3 additions and 0 deletions
|
@ -663,6 +663,9 @@ sub load_files {
|
||||||
Slic3r::GUI::show_error($self, $@) if $@;
|
Slic3r::GUI::show_error($self, $@) if $@;
|
||||||
$_->load_current_preset for (values %{$self->GetFrame->{options_tabs}});
|
$_->load_current_preset for (values %{$self->GetFrame->{options_tabs}});
|
||||||
wxTheApp->{app_config}->update_config_dir(dirname($input_file));
|
wxTheApp->{app_config}->update_config_dir(dirname($input_file));
|
||||||
|
# forces the update of the config here, or it will invalidate the imported layer heights profile if done using the timer
|
||||||
|
# and if the config contains a "layer_height" different from the current defined one
|
||||||
|
$self->async_apply_config;
|
||||||
}
|
}
|
||||||
else
|
else
|
||||||
{
|
{
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue