mirror of
https://git.mirrors.martin98.com/https://github.com/slic3r/Slic3r.git
synced 2025-07-28 01:41:59 +08:00
Avoid SVG slicing interfering with repeating last quick slice.
This commit is contained in:
parent
bd16366d62
commit
c25a31ef98
@ -76,7 +76,7 @@ sub do_slice {
|
|||||||
}
|
}
|
||||||
$input_file = $dialog->GetPaths;
|
$input_file = $dialog->GetPaths;
|
||||||
$dialog->Destroy;
|
$dialog->Destroy;
|
||||||
$last_input_file = $input_file;
|
$last_input_file = $input_file unless $params{export_svg};
|
||||||
} else {
|
} else {
|
||||||
if (!defined $last_input_file) {
|
if (!defined $last_input_file) {
|
||||||
Wx::MessageDialog->new($self, "No previously sliced file.",
|
Wx::MessageDialog->new($self, "No previously sliced file.",
|
||||||
@ -110,7 +110,8 @@ sub do_slice {
|
|||||||
$dlg->Destroy;
|
$dlg->Destroy;
|
||||||
return;
|
return;
|
||||||
}
|
}
|
||||||
$output_file = $last_output_file = $dlg->GetPath;
|
$output_file = $dlg->GetPath;
|
||||||
|
$last_output_file = $output_file unless $params{export_svg};
|
||||||
$dlg->Destroy;
|
$dlg->Destroy;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user