mirror of
https://git.mirrors.martin98.com/https://github.com/slic3r/Slic3r.git
synced 2025-08-01 09:51:59 +08:00
Added menu mechanism to load 3d models.
This commit is contained in:
parent
ce77ade904
commit
72703ca0e8
@ -118,6 +118,7 @@ void MainFrame::init_menubar()
|
|||||||
|
|
||||||
wxMenu* menuFile = new wxMenu();
|
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();
|
wxMenu* menuPlater = new wxMenu();
|
||||||
|
Loading…
x
Reference in New Issue
Block a user