[FIRE-35339] Removed now seemingly unnecessary hotfix for FIRE-33958 when entering and leaving mouselook

This commit is contained in:
Hecklezz
2026-01-13 04:22:41 +10:00
parent c8f8eddad0
commit 2e3d4e7c8d
-22
View File
@@ -2703,17 +2703,6 @@ void LLAgent::endAnimationUpdateUI()
// clean up UI from mode we're leaving
if (gAgentCamera.getLastCameraMode() == CAMERA_MODE_MOUSELOOK )
{
// <FS:Zi> FIRE-33958: clear out any visible toasts/group notices before leaving mouselook
LLNotificationsUI::LLScreenChannel* channel = dynamic_cast<LLNotificationsUI::LLScreenChannel*>(
LLNotificationsUI::LLChannelManager::getInstance()->findChannelByID(LLNotificationsUI::NOTIFICATION_CHANNEL_UUID)
);
if(channel)
{
channel->removeAndStoreAllStorableToasts();
}
// </FS:Zi>
// <FS:Zi> Unhide chat bar, unless autohide is enabled
gSavedSettings.setBOOL("MouseLookEnabled", false);
if(!gSavedSettings.getBOOL("AutohideChatBar"))
@@ -2876,17 +2865,6 @@ void LLAgent::endAnimationUpdateUI()
//---------------------------------------------------------------------
if (gAgentCamera.getCameraMode() == CAMERA_MODE_MOUSELOOK)
{
// <FS:Zi> FIRE-33958: clear out any visible toasts/group notices before entering mouselook
LLNotificationsUI::LLScreenChannel* channel = dynamic_cast<LLNotificationsUI::LLScreenChannel*>(
LLNotificationsUI::LLChannelManager::getInstance()->findChannelByID(LLNotificationsUI::NOTIFICATION_CHANNEL_UUID)
);
if(channel)
{
channel->removeAndStoreAllStorableToasts();
}
// </FS:Zi>
// <FS:PP> FIRE-8868: Show UI in mouselook
if(!gSavedSettings.getBOOL("FSShowInterfaceInMouselook"))
{