mirror of
https://github.com/SoftFever/OrcaSlicer.git
synced 2025-07-11 08:47:52 -06:00
1) Added Scale to print volume menu item to objects list context menu
2) Disable [F] key when scale sizmo is dragging
This commit is contained in:
parent
c92940c985
commit
734d946912
4 changed files with 19 additions and 3 deletions
|
@ -3037,8 +3037,7 @@ bool Plater::priv::init_common_menu(wxMenu* menu, const bool is_part/* = false*/
|
|||
sidebar->obj_list()->append_menu_item_fix_through_netfabb(menu);
|
||||
|
||||
#if ENABLE_SCALE_TO_FIT_PRINT_VOLUME
|
||||
append_menu_item(menu, wxID_ANY, _(L("Scale to print volume")), _(L("Scale the selected object to fit the print volume")),
|
||||
[this](wxCommandEvent&) { scale_selection_to_fit_print_volume(); }, "", menu);
|
||||
sidebar->obj_list()->append_menu_item_scale_selection_to_fit_print_volume(menu);
|
||||
#endif // ENABLE_SCALE_TO_FIT_PRINT_VOLUME
|
||||
|
||||
wxMenu* mirror_menu = new wxMenu();
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue