SL-18581 Add more logging
parent
e1661fdcda
commit
53ebcc0ff3
|
|
@ -323,10 +323,12 @@ bool LLToolBarView::loadToolbars(bool force_default)
|
|||
|
||||
// SL-18581: Don't show the starter avatar toolbar button for NUX users
|
||||
LLViewerInventoryCategory* my_outfits_cat = gInventory.getCategory(gInventory.findCategoryUUIDForType(LLFolderType::FT_MY_OUTFITS));
|
||||
if (gAgent.isFirstLogin()
|
||||
&& my_outfits_cat != NULL
|
||||
&& my_outfits_cat->getDescendentCount() > 0)
|
||||
if (gAgent.isFirstLogin())
|
||||
{
|
||||
LL_WARNS() << "First login: checking for NUX user." << LL_ENDL;
|
||||
if (my_outfits_cat != NULL && my_outfits_cat->getDescendentCount() > 0)
|
||||
{
|
||||
LL_WARNS() << "First login: My Outfits folder is not empty, removing the avatar picker button." << LL_ENDL;
|
||||
for (S32 i = LLToolBarEnums::TOOLBAR_FIRST; i <= LLToolBarEnums::TOOLBAR_LAST; i++)
|
||||
{
|
||||
if (mToolbars[i])
|
||||
|
|
@ -335,6 +337,7 @@ bool LLToolBarView::loadToolbars(bool force_default)
|
|||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
mToolbarsLoaded = true;
|
||||
return true;
|
||||
|
|
|
|||
Loading…
Reference in New Issue