From 1cd4bca6482a154fe030c858ed9561588704d9ee Mon Sep 17 00:00:00 2001 From: Alessandro Ranellucci Date: Tue, 4 Apr 2017 15:47:00 +0200 Subject: [PATCH] Fixed regression causing background processing to be partially active regardless of preferences. #3843 --- lib/Slic3r/GUI/Plater.pm | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) diff --git a/lib/Slic3r/GUI/Plater.pm b/lib/Slic3r/GUI/Plater.pm index b641398dc..364f9c191 100644 --- a/lib/Slic3r/GUI/Plater.pm +++ b/lib/Slic3r/GUI/Plater.pm @@ -1398,12 +1398,12 @@ sub async_apply_config { $self->{toolpaths2D}->reload_print if $self->{toolpaths2D}; $self->{preview3D}->reload_print if $self->{preview3D}; + if (!$Slic3r::GUI::Settings->{_}{background_processing}) { + $self->hide_preview if $invalidated; + return; + } + if ($invalidated) { - if (!$Slic3r::GUI::Settings->{_}{background_processing}) { - $self->hide_preview; - return; - } - # kill current thread if any $self->stop_background_process; # remove the sliced statistics box because something changed.