Corrects input issues when typing into text fields and it bleeding through to player inputs.

This commit is contained in:
Areloch 2015-09-21 00:14:16 -05:00
parent e8d1238794
commit 4c13906865
3 changed files with 17 additions and 6 deletions

View file

@ -105,6 +105,11 @@ void WindowInputGenerator::generateInputEvent( InputEventInfo &inputEvent )
if( mInputController->processInputEvent( inputEvent ) )
return;
if (mWindow->getKeyboardTranslation())
{
return;
}
// If we get here we failed to process it with anything prior... so let
// the ActionMap handle it.
ActionMap::handleEvent(&inputEvent);