FIX: plate is exceptionally selected when openning scale tool
Change-Id: If2cfd62ddb7252aeb51ebf81c8c50f1b7ef52fa1 Signed-off-by: yifan.wu <yifan.wu@bambulab.com>
This commit is contained in:
parent
b55d9672b9
commit
531794d131
|
@ -1381,7 +1381,8 @@ void GLGizmosManager::update_on_off_state(const Vec2d& mouse_pos)
|
|||
size_t idx = get_gizmo_idx_from_mouse(mouse_pos);
|
||||
if (idx != Undefined && m_gizmos[idx]->is_activable() && m_hover == idx) {
|
||||
activate_gizmo(m_current == idx ? Undefined : (EType)idx);
|
||||
wxGetApp().obj_list()->select_object_item((EType)idx <= Rotate);
|
||||
// BBS
|
||||
wxGetApp().obj_list()->select_object_item((EType)idx <= Scale);
|
||||
}
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in New Issue