Bugfix: fatal error when a non-manifold object is processed on a non-thraeded perl
This commit is contained in:
parent
09d4ab8470
commit
26051d12ef
1 changed files with 2 additions and 2 deletions
|
@ -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…
Reference in a new issue