Added gallery to the default shapes

+ ObjectList (MSW specific): Don't change background color for Light color mode
This commit is contained in:
YuSanka 2021-07-15 10:51:57 +02:00
parent 8c23678fa0
commit b921c8b276
4 changed files with 41 additions and 2 deletions

View file

@ -433,7 +433,7 @@ wxMenu* MenuFactory::append_submenu_add_generic(wxMenu* menu, ModelVolumeType ty
[type, item](wxCommandEvent&) { obj_list()->load_generic_subobject(item, type); }, "", menu);
}
if (wxGetApp().get_mode() == comExpert && type != ModelVolumeType::INVALID) {
if (wxGetApp().get_mode() == comExpert) {
sub_menu->AppendSeparator();
append_menu_item(sub_menu, wxID_ANY, _L("Gallery"), "",
[type](wxCommandEvent&) { obj_list()->load_subobject(type, true); }, "", menu);