1
0
mirror of https://github.com/FULU-Foundation/OrcaSlicer-bambulab.git synced 2026-07-31 11:15:52 +00:00

Bugfix: fatal error when a non-manifold object is processed on a non-thraeded perl

This commit is contained in:
Alessandro Ranellucci
2012-05-29 17:02:47 +02:00
parent 09d4ab8470
commit 26051d12ef
+2 -2
View File
@@ -505,9 +505,9 @@ sub export_gcode2 {
} else { } else {
$print->export_gcode(%params); $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([@_]))); Wx::PostEvent($self, Wx::PlThreadEvent->new(-1, $MESSAGE_DIALOG_EVENT, shared_clone([@_])));
})->($_) for @warnings; } : undef)->($_) for @warnings;
} }
my $message = "Your files were successfully sliced"; my $message = "Your files were successfully sliced";