diff --git a/lib/Slic3r/GUI/Plater.pm b/lib/Slic3r/GUI/Plater.pm index e843819b3..87de2bdee 100644 --- a/lib/Slic3r/GUI/Plater.pm +++ b/lib/Slic3r/GUI/Plater.pm @@ -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;