Skip to content
Snippets Groups Projects
Commit 1c68c378 authored by Xenhat Hex's avatar Xenhat Hex Committed by Xenhat Hex
Browse files

Fix menu/navbar re-appearing after exiting mouselook in cinematic mode

parent c1b1deb6
No related branches found
No related tags found
2 merge requests!3Update to main branch,!2Rebase onto current main branch
......@@ -57,6 +57,8 @@
// [/RLVa:KB]
#include "llnotificationsutil.h"
#include "alcinematicmode.h"
using namespace LLAvatarAppearanceDefines;
extern LLMenuBarGL* gMenuBarView;
......@@ -2482,7 +2484,7 @@ void LLAgentCamera::changeCameraToDefault()
{
changeCameraToThirdPerson();
}
if (gSavedSettings.getBOOL("HideUIControls"))
if (ALCinematicMode::isEnabled() || gSavedSettings.getBOOL("HideUIControls"))
{
gViewerWindow->setUIVisibility(false);
LLPanelStandStopFlying::getInstance()->setVisible(false);
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment