FIX: press key R and T cannot close gizmo window (STUDIO-1980)

https://jira.bambooolab.com/browse/STUDIO-1980

Change-Id: Iaebe4674cf3b14dde4e7ee1a9b123b5a36d2c693
This commit is contained in:
liz.li 2023-03-06 15:35:48 +08:00 committed by Lane.Wei
parent 289a3d1d53
commit aba824bbb9

View file

@ -1017,8 +1017,6 @@ bool GLGizmosManager::on_char(wxKeyEvent& evt)
break;
}
//skip some keys when gizmo
case 'r':
case 'R':
case 'A':
case 'a':
{
@ -1088,9 +1086,9 @@ bool GLGizmosManager::on_char(wxKeyEvent& evt)
// BBS: Skip all keys when in gizmo. This is necessary for 3D text tool.
default:
{
if (is_running() && m_current == EType::Text) {
processed = true;
}
//if (is_running() && m_current == EType::Text) {
// processed = true;
//}
break;
}
}