mirror of
https://github.com/SoftFever/OrcaSlicer.git
synced 2025-07-11 16:57:53 -06:00
Follow-up to previous commits on gizmo grabbers picking (use of centralized static constant for ids and added comments)
This commit is contained in:
parent
ef939905b1
commit
bc3036d777
3 changed files with 11 additions and 5 deletions
|
@ -6294,7 +6294,7 @@ void GLCanvas3D::_picking_pass() const
|
|||
else
|
||||
{
|
||||
m_hover_volume_id = -1;
|
||||
m_gizmos.set_hover_id(inside && volume_id <= 254 * 255 * 255 ? (254 * 255 * 255 - volume_id) : -1);
|
||||
m_gizmos.set_hover_id(inside && volume_id <= GLGizmoBase::BASE_ID ? (GLGizmoBase::BASE_ID - volume_id) : -1);
|
||||
}
|
||||
|
||||
_update_volumes_hover_state();
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue