[FIRE-35339] Removed now seemingly unnecessary hotfix for FIRE-33958 when entering and leaving mouselook
parent
c8f8eddad0
commit
2e3d4e7c8d
|
|
@ -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"))
|
||||
{
|
||||
|
|
|
|||
Loading…
Reference in New Issue