mirror of
https://github.com/SoftFever/OrcaSlicer.git
synced 2025-07-24 15:13:58 -06:00
Added a Reslicing-function to the File menu.
This commit is contained in:
parent
4a9a46effc
commit
0ca7577392
2 changed files with 32 additions and 6 deletions
|
@ -35,12 +35,14 @@ sub OnInit {
|
|||
$fileMenu->Append(2, "Open Config…");
|
||||
$fileMenu->AppendSeparator();
|
||||
$fileMenu->Append(3, "Slice…");
|
||||
$fileMenu->Append(4, "Slice and Save As…");
|
||||
$fileMenu->Append(4, "Reslice");
|
||||
$fileMenu->Append(5, "Slice and Save As…");
|
||||
$menubar->Append($fileMenu, "&File");
|
||||
EVT_MENU($frame, 1, sub { $panel->save_config });
|
||||
EVT_MENU($frame, 2, sub { $panel->load_config });
|
||||
EVT_MENU($frame, 3, sub { $panel->do_slice });
|
||||
EVT_MENU($frame, 4, sub { $panel->do_slice(save_as => 1) });
|
||||
EVT_MENU($frame, 4, sub { $panel->do_slice(reslice => 1) });
|
||||
EVT_MENU($frame, 5, sub { $panel->do_slice(save_as => 1) });
|
||||
|
||||
$box->SetSizeHints($frame);
|
||||
$frame->SetSizer($box);
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue