mirror of
https://github.com/FULU-Foundation/OrcaSlicer-bambulab.git
synced 2026-07-03 17:05:43 +02:00
Move the parsing warning to the end, so that it won't block slicing
This commit is contained in:
@@ -159,8 +159,10 @@ sub do_slice {
|
|||||||
},
|
},
|
||||||
);
|
);
|
||||||
{
|
{
|
||||||
local $SIG{__WARN__} = $self->catch_warning;
|
my @warnings = ();
|
||||||
|
local $SIG{__WARN__} = sub { push @warnings, $_[0] };
|
||||||
$skein->go;
|
$skein->go;
|
||||||
|
$self->catch_warning->($_) for @warnings;
|
||||||
}
|
}
|
||||||
$process_dialog->Destroy;
|
$process_dialog->Destroy;
|
||||||
undef $process_dialog;
|
undef $process_dialog;
|
||||||
|
|||||||
Reference in New Issue
Block a user