ENH: change alt behavior for part selection

1. Alt is no long for object/part delection
2. Alt is defined to select part in View3D

Signed-off-by: yifan.wu <yifan.wu@bambulab.com>
Change-Id: If0f14f79a321be2d0320a841e15dc973715364ea
(cherry picked from commit 9c092f2d20b89470202df037180425b2ecb8ef82)
This commit is contained in:
yifan.wu 2022-07-28 23:05:46 +08:00 committed by Lane.Wei
parent 7a5bca3c30
commit d14e5c9d59
3 changed files with 9 additions and 2 deletions

View file

@ -766,6 +766,7 @@ bool AssembleView::init(wxWindow* parent, Bed3D& bed, Model* model, DynamicPrint
// BBS: set volume_selection_mode to Volume
m_canvas->get_selection().set_volume_selection_mode(Selection::Volume);
m_canvas->get_selection().lock_volume_selection_mode();
wxBoxSizer* main_sizer = new wxBoxSizer(wxVERTICAL);
main_sizer->Add(m_canvas_widget, 1, wxALL | wxEXPAND, 0);