diff options
Diffstat (limited to 'indra/newview/lltoolbar.cpp')
-rw-r--r-- | indra/newview/lltoolbar.cpp | 7 |
1 files changed, 5 insertions, 2 deletions
diff --git a/indra/newview/lltoolbar.cpp b/indra/newview/lltoolbar.cpp index d7db0f85d9..b9235a489a 100644 --- a/indra/newview/lltoolbar.cpp +++ b/indra/newview/lltoolbar.cpp @@ -307,7 +307,10 @@ void LLToolBar::refresh() } gSavedSettings.setBOOL("BuildBtnState", build_mode); - updateCommunicateList(); + if (isInVisibleChain()) + { + updateCommunicateList(); + } } void LLToolBar::updateCommunicateList() @@ -444,7 +447,7 @@ void LLToolBar::onClickChat(void* user_data) // static void LLToolBar::onClickAppearance(void*) { - if (gAgent.getWearablesLoaded()) + if (gAgent.areWearablesLoaded()) { gAgent.changeCameraToCustomizeAvatar(); } |