EXP-1323 FIX Mouselook text "Press ESC to return to World View" overlaps with bottom toolbar if mode is icon only

made mouselook work when hiding ui by unhiding UI first
meow-7.2.2
Richard Nelson 2011-10-14 13:10:15 -07:00
parent 0d215ba34f
commit 32e7a0d522
1 changed files with 5 additions and 1 deletions

View File

@ -1973,7 +1973,11 @@ void LLAgent::endAnimationUpdateUI()
//---------------------------------------------------------------------
if (gAgentCamera.getCameraMode() == CAMERA_MODE_MOUSELOOK)
{
// hide menus
// clean up UI
// first show anything hidden by UI toggle
gViewerWindow->setUIVisibility(TRUE);
// then hide stuff we want hidden for mouselook
gToolBarView->setToolBarsVisible(false);
gMenuBarView->setVisible(FALSE);
LLNavigationBar::getInstance()->setVisible(FALSE);