mirror of
https://github.com/SoftFever/OrcaSlicer.git
synced 2025-07-10 00:07:52 -06:00
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
1 changed files with 2 additions and 1 deletions
|
@ -1381,7 +1381,8 @@ void GLGizmosManager::update_on_off_state(const Vec2d& mouse_pos)
|
||||||
size_t idx = get_gizmo_idx_from_mouse(mouse_pos);
|
size_t idx = get_gizmo_idx_from_mouse(mouse_pos);
|
||||||
if (idx != Undefined && m_gizmos[idx]->is_activable() && m_hover == idx) {
|
if (idx != Undefined && m_gizmos[idx]->is_activable() && m_hover == idx) {
|
||||||
activate_gizmo(m_current == idx ? Undefined : (EType)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…
Add table
Add a link
Reference in a new issue