diff options
author | maxim_productengine <mnikolenko@productengine.com> | 2012-10-18 18:58:55 +0300 |
---|---|---|
committer | maxim_productengine <mnikolenko@productengine.com> | 2012-10-18 18:58:55 +0300 |
commit | 9cc1dfd4e6f3859e690da578adde057ec9a82e18 (patch) | |
tree | ea5ead5d3aaa29ee38cadc4f7a0fc1c3b159146b /indra/newview/llagentcamera.cpp | |
parent | 19f25eea3d5dab061441491b41fa8cc416a273b5 (diff) |
MAINT-1303 FIXED Hide menus and buttons after exiting mouselook if 'Hide all controls' is switched on.
Diffstat (limited to 'indra/newview/llagentcamera.cpp')
-rw-r--r-- | indra/newview/llagentcamera.cpp | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/indra/newview/llagentcamera.cpp b/indra/newview/llagentcamera.cpp index 751b73e1eb..9025c7af8b 100644 --- a/indra/newview/llagentcamera.cpp +++ b/indra/newview/llagentcamera.cpp @@ -35,6 +35,7 @@ #include "llfloaterreg.h" #include "llhudmanager.h" #include "lljoystickbutton.h" +#include "llmoveview.h" #include "llselectmgr.h" #include "llsmoothstep.h" #include "lltoolmgr.h" @@ -2113,6 +2114,11 @@ void LLAgentCamera::changeCameraToDefault() { changeCameraToThirdPerson(); } + if (gSavedSettings.getBOOL("HideUIControls")) + { + gViewerWindow->setUIVisibility(false); + LLPanelStandStopFlying::getInstance()->setVisible(false); + } } |