Added menu mechanism to load 3d models.

This commit is contained in:
Joseph Lenox 2018-04-28 23:39:00 -05:00
parent ce77ade904
commit 72703ca0e8

View File

@ -118,6 +118,7 @@ void MainFrame::init_menubar()
wxMenu* menuFile = new wxMenu();
{
append_menu_item(menuFile, _(L"Open STL/OBJ/AMF/3MF…"), _("Open a model"), [=](wxCommandEvent& e) { if (this->plater != nullptr) this->plater->add();}, wxID_ANY, "brick_add.png", "Ctrl+O");
}
wxMenu* menuPlater = new wxMenu();