Follow-up of 32dc4709a4 -> A more general fix

This commit is contained in:
Enrico Turri 2019-08-26 09:06:21 +02:00
parent ed2bad6709
commit 7f589e79f7
4 changed files with 16 additions and 6 deletions

View file

@ -2264,12 +2264,7 @@ void GLCanvas3D::on_char(wxKeyEvent& evt)
return;
if (m_gizmos.on_char(evt))
{
// FIXME: Without the following call to render(), the gimgui dialogs are not shown the first time the user tries to open them using the keyboard shortcuts
// (it looks like as if 2 render calls are needed before they show up)
render();
return;
}
//#ifdef __APPLE__
// ctrlMask |= wxMOD_RAW_CONTROL;