#7647 - Re-enabled 'Export to STL' command for volumes. It was working in 2.3.3 and got disabled somehow.

This commit is contained in:
enricoturri1966 2022-01-05 10:23:48 +01:00
parent 3aad2a9f4a
commit ffe678e0ea
2 changed files with 16 additions and 27 deletions

View file

@ -716,7 +716,7 @@ void MenuFactory::append_menu_item_export_stl(wxMenu* menu)
[](wxCommandEvent&) { plater()->export_stl(false, true); }, "", nullptr,
[]() {
const Selection& selection = plater()->canvas3D()->get_selection();
return selection.is_single_full_instance() || selection.is_single_full_object();
return selection.is_single_full_instance() || selection.is_single_full_object() || selection.is_single_volume();
}, m_parent);
menu->AppendSeparator();
}