FIX:when init on_set_state(),m_hover_id should be -1

Jira: STUDIO-4955
Change-Id: Ida2c7564ca45cfd331dba933ac3bf93cf2c4cd34
This commit is contained in:
zhou.xu 2023-10-30 13:14:56 +08:00 committed by Lane.Wei
parent 232bd94ac7
commit 08bfc8d980
1 changed files with 1 additions and 0 deletions

View File

@ -501,6 +501,7 @@ void GLGizmoAdvancedCut::on_set_state()
// Reset m_cut_z on gizmo activation
if (get_state() == On) {
m_hover_id = -1;
m_connectors_editing = false;
reset_cut_plane();