mirror of
https://git.mirrors.martin98.com/https://github.com/prusa3d/PrusaSlicer.git
synced 2025-05-07 03:39:13 +08:00
Move the parsing warning to the end, so that it won't block slicing
This commit is contained in:
parent
f20209ce01
commit
65a018f156
@ -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;
|
||||||
|
Loading…
x
Reference in New Issue
Block a user