mirror of
https://github.com/FirestormViewer/phoenix-firestorm.git
synced 2026-08-14 00:48:30 +00:00
[FIRE-35339] Removed now seemingly unnecessary hotfix for FIRE-33958 when entering and leaving mouselook
This commit is contained in:
@@ -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"))
|
||||
{
|
||||
|
||||
Reference in New Issue
Block a user