mirror of
https://github.com/SoftFever/OrcaSlicer.git
synced 2025-07-12 01:07:57 -06:00
Update gizmos on/off state
This commit is contained in:
parent
435163fb73
commit
7395b923bd
4 changed files with 12 additions and 3 deletions
|
@ -5248,6 +5248,12 @@ void GLCanvas3D::set_camera_zoom(float zoom)
|
|||
_refresh_if_shown_on_screen();
|
||||
}
|
||||
|
||||
void GLCanvas3D::update_gizmos_on_off_state()
|
||||
{
|
||||
set_as_dirty();
|
||||
m_gizmos.update_on_off_state(get_selection());
|
||||
}
|
||||
|
||||
bool GLCanvas3D::_is_shown_on_screen() const
|
||||
{
|
||||
return (m_canvas != nullptr) ? m_canvas->IsShownOnScreen() : false;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue