Skip to content

Commit d79188d

Browse files
committed
[FIRE-29517] Fix long freeze when entering mouselook
1 parent 063ddc9 commit d79188d

1 file changed

Lines changed: 10 additions & 4 deletions

File tree

indra/newview/llviewerwindow.cpp

Lines changed: 10 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -7332,11 +7332,17 @@ void LLViewerWindow::setUIVisibility(bool visible)
73327332
// LLPanelTopInfoBar::getInstance()->setVisible(visible? gSavedSettings.getBOOL("ShowMiniLocationPanel") : false);
73337333
mStatusBarContainer->setVisible(visible);
73347334

7335-
// <FS:Zi> hide utility bar if we are on a skin that uses it, e.g. Vintage
7336-
LLView* utilityBarStack = mRootView->findChildView("chat_bar_utility_bar_stack");
7337-
if (utilityBarStack)
7335+
// <FS:Zi> hide utility bar if we are on a skin that uses it, i.e. Vintage
7336+
// Beq Note: Added a skin check to fix FIRE-29517 "hitch when entering mouselook"
7337+
// This was caused having to search for a non-existent childview. If another skin other than vintage
7338+
// ever needs chat_bar_utility_bar_stack in the future, this will need to be updated.
7339+
if (gSavedSettings.getString("FSInternalSkinCurrent") == "Vintage")
73387340
{
7339-
utilityBarStack->setVisible(visible);
7341+
LLView* utilityBarStack = mRootView->findChildView("chat_bar_utility_bar_stack");
7342+
if (utilityBarStack)
7343+
{
7344+
utilityBarStack->setVisible(visible);
7345+
}
73407346
}
73417347
// </FS:Zi>
73427348
}

0 commit comments

Comments
 (0)