This commit is contained in:
Alessandro Ranellucci 2014-07-12 12:16:24 +02:00
parent edc7fd2915
commit 212558acd4

View file

@ -896,7 +896,7 @@ sub pause_background_process {
my ($self) = @_; my ($self) = @_;
if ($self->{process_thread} || $self->{export_thread}) { if ($self->{process_thread} || $self->{export_thread}) {
$self->pause_background_process; Slic3r::pause_threads();
} elsif (defined $self->{apply_config_timer} && $self->{apply_config_timer}->IsRunning) { } elsif (defined $self->{apply_config_timer} && $self->{apply_config_timer}->IsRunning) {
$self->{apply_config_timer}->Stop; $self->{apply_config_timer}->Stop;
} }
@ -906,7 +906,7 @@ sub resume_background_process {
my ($self) = @_; my ($self) = @_;
if ($self->{process_thread} || $self->{export_thread}) { if ($self->{process_thread} || $self->{export_thread}) {
$self->resume_background_process; Slic3r::resume_threads();
} else { } else {
$self->schedule_background_process; $self->schedule_background_process;
} }