1
0
mirror of https://github.com/FULU-Foundation/OrcaSlicer-bambulab.git synced 2026-08-01 11:25:50 +00:00
This commit is contained in:
Alessandro Ranellucci
2014-07-12 12:16:24 +02:00
parent edc7fd2915
commit 212558acd4
+2 -2
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;
} }