FIX:when init on_set_state(),m_hover_id should be -1
Jira: STUDIO-4955 Change-Id: Ida2c7564ca45cfd331dba933ac3bf93cf2c4cd34
This commit is contained in:
parent
232bd94ac7
commit
08bfc8d980
|
@ -501,6 +501,7 @@ void GLGizmoAdvancedCut::on_set_state()
|
||||||
|
|
||||||
// Reset m_cut_z on gizmo activation
|
// Reset m_cut_z on gizmo activation
|
||||||
if (get_state() == On) {
|
if (get_state() == On) {
|
||||||
|
m_hover_id = -1;
|
||||||
m_connectors_editing = false;
|
m_connectors_editing = false;
|
||||||
reset_cut_plane();
|
reset_cut_plane();
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue