mirror of
https://git.mirrors.martin98.com/https://github.com/slic3r/Slic3r.git
synced 2025-08-03 02:00:39 +08:00
added one-off menu option to call arrange, currently crashes if no models loaded.
This commit is contained in:
parent
dccc04bd8a
commit
b8c8571c39
@ -124,6 +124,7 @@ void MainFrame::init_menubar()
|
||||
|
||||
wxMenu* menuPlater = new wxMenu();
|
||||
{
|
||||
append_menu_item(menuPlater, _(L"Arrange…"), _("Arrange models on plater"), [=](wxCommandEvent& e) { if (this->plater != nullptr) this->plater->arrange();}, wxID_ANY, "bricks.png", "Ctrl+G");
|
||||
}
|
||||
wxMenu* menuObject = new wxMenu();
|
||||
{
|
||||
|
Loading…
x
Reference in New Issue
Block a user