From c0129e4b11455a05a94300e1649cf3edaaf824aa Mon Sep 17 00:00:00 2001 From: Aimee Linden <aimee@lindenlab.com> Date: Mon, 21 Jun 2010 13:35:55 +0100 Subject: [PATCH] DEV-36437 FIXED (VWR-2485) Menu remains after switch to Mouselook Ported from Snowglobe. --- indra/newview/llagentcamera.cpp | 3 +++ 1 file changed, 3 insertions(+) diff --git a/indra/newview/llagentcamera.cpp b/indra/newview/llagentcamera.cpp index c6ca9c5e3aa..9cf0a659c1c 100644 --- a/indra/newview/llagentcamera.cpp +++ b/indra/newview/llagentcamera.cpp @@ -2084,6 +2084,9 @@ void LLAgentCamera::changeCameraToMouselook(BOOL animate) // visibility changes at end of animation gViewerWindow->getWindow()->resetBusyCount(); + // Menus should not remain open on switching to mouselook... + LLMenuGL::sMenuContainer->hideMenus(); + // unpause avatar animation gAgent.unpauseAnimation(); -- GitLab