added one-off menu option to call arrange, currently crashes if no models loaded.

This commit is contained in:
Joseph Lenox 2018-05-07 22:36:12 -05:00 committed by Joseph Lenox
parent dccc04bd8a
commit b8c8571c39

View File

@ -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();
{