Another fix in gizmos update
This commit is contained in:
parent
c40258d9b2
commit
aaa592bab9
1 changed files with 2 additions and 1 deletions
|
@ -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…
Reference in a new issue