FIRE-9966: Extended fix for exiting crouch toggle with fly button prevents flying

meow-7.2.2
Ansariel 2013-05-26 16:47:51 +02:00
parent 38a4dade56
commit e3c8dd6f33
1 changed files with 1 additions and 1 deletions

View File

@ -1504,6 +1504,7 @@ bool LLAppViewer::mainLoop()
&& !gFocusMgr.focusLocked())
{
joystick->scanJoystick();
gKeyboard->scanKeyboard();
// <FS:Ansariel> Chalice Yao's crouch toggle
static LLCachedControl<bool> fsCrouchToggle(gSavedSettings, "FSCrouchToggle");
static LLCachedControl<bool> fsCrouchToggleStatus(gSavedSettings, "FSCrouchToggleStatus");
@ -1512,7 +1513,6 @@ bool LLAppViewer::mainLoop()
gAgent.moveUp(-1);
}
// </FS:Ansariel>
gKeyboard->scanKeyboard();
}
// Update state based on messages, user input, object idle.