mirror of
https://git.mirrors.martin98.com/https://github.com/prusa3d/PrusaSlicer.git
synced 2025-05-19 02:57:37 +08:00
Bugfix: fatal error when a non-manifold object is processed on a non-thraeded perl
This commit is contained in:
parent
09d4ab8470
commit
26051d12ef
@ -505,9 +505,9 @@ sub export_gcode2 {
|
||||
} else {
|
||||
$print->export_gcode(%params);
|
||||
}
|
||||
Slic3r::GUI::warning_catcher($self, sub {
|
||||
Slic3r::GUI::warning_catcher($self, $Slic3r::have_threads ? sub {
|
||||
Wx::PostEvent($self, Wx::PlThreadEvent->new(-1, $MESSAGE_DIALOG_EVENT, shared_clone([@_])));
|
||||
})->($_) for @warnings;
|
||||
} : undef)->($_) for @warnings;
|
||||
}
|
||||
|
||||
my $message = "Your files were successfully sliced";
|
||||
|
Loading…
x
Reference in New Issue
Block a user