Workaround to fix gizmos' imgui dialog not showing up the first time the user activates them by using keyboard shortcuts.
This commit is contained in:
parent
189312624a
commit
32dc4709a4
@ -2264,7 +2264,12 @@ void GLCanvas3D::on_char(wxKeyEvent& evt)
|
|||||||
return;
|
return;
|
||||||
|
|
||||||
if (m_gizmos.on_char(evt))
|
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;
|
return;
|
||||||
|
}
|
||||||
|
|
||||||
//#ifdef __APPLE__
|
//#ifdef __APPLE__
|
||||||
// ctrlMask |= wxMOD_RAW_CONTROL;
|
// ctrlMask |= wxMOD_RAW_CONTROL;
|
||||||
|
Loading…
Reference in New Issue
Block a user