From 3cd7987af4b6cbb6910eb612fa96775b34c11a0b Mon Sep 17 00:00:00 2001 From: Enrico Turri Date: Wed, 25 Apr 2018 10:59:06 +0200 Subject: [PATCH] Fixed layer heights profile invalidated when loading model from amf file --- lib/Slic3r/GUI/Plater.pm | 3 +++ 1 file changed, 3 insertions(+) diff --git a/lib/Slic3r/GUI/Plater.pm b/lib/Slic3r/GUI/Plater.pm index ce78eab8e..f41394ccc 100644 --- a/lib/Slic3r/GUI/Plater.pm +++ b/lib/Slic3r/GUI/Plater.pm @@ -663,6 +663,9 @@ sub load_files { Slic3r::GUI::show_error($self, $@) if $@; $_->load_current_preset for (values %{$self->GetFrame->{options_tabs}}); 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 {