mirror of
https://git.mirrors.martin98.com/https://github.com/prusa3d/PrusaSlicer.git
synced 2025-05-17 22:26:49 +08:00
Another fix in gizmos update
This commit is contained in:
parent
c40258d9b2
commit
aaa592bab9
@ -2128,7 +2128,7 @@ void GLCanvas3D::update_volumes_colors_by_extruder()
|
|||||||
|
|
||||||
void GLCanvas3D::update_gizmos_data()
|
void GLCanvas3D::update_gizmos_data()
|
||||||
{
|
{
|
||||||
if (!m_gizmos.is_running())
|
if (!m_gizmos.is_enabled())
|
||||||
return;
|
return;
|
||||||
|
|
||||||
int id = _get_first_selected_object_id();
|
int id = _get_first_selected_object_id();
|
||||||
@ -3323,6 +3323,7 @@ void GLCanvas3D::on_mouse(wxMouseEvent& evt)
|
|||||||
{
|
{
|
||||||
deselect_volumes();
|
deselect_volumes();
|
||||||
_on_select(-1);
|
_on_select(-1);
|
||||||
|
update_gizmos_data();
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
else if (evt.LeftUp() && m_gizmos.is_dragging())
|
else if (evt.LeftUp() && m_gizmos.is_dragging())
|
||||||
|
Loading…
x
Reference in New Issue
Block a user