mirror of
https://github.com/FULU-Foundation/OrcaSlicer-bambulab.git
synced 2026-05-14 19:12:38 -07:00
Bugfix: recent refactoring broke slicing from plater on multi-threaded perls
This commit is contained in:
@@ -483,6 +483,7 @@ sub export_gcode {
|
||||
}
|
||||
|
||||
$self->statusbar->StartBusy;
|
||||
$self->{print}->config($self->skeinpanel->config); # set this before spawning the thread because ->config needs GetParent and it's not available there
|
||||
if ($Slic3r::have_threads) {
|
||||
$self->{export_thread} = threads->create(sub {
|
||||
$self->export_gcode2(
|
||||
@@ -530,7 +531,6 @@ sub export_gcode2 {
|
||||
|
||||
eval {
|
||||
my $print = $self->{print};
|
||||
$print->config($self->skeinpanel->config);
|
||||
$print->config->validate;
|
||||
$print->validate;
|
||||
|
||||
|
||||
Reference in New Issue
Block a user