Convert BOOL to bool

# Conflicts:
#	indra/newview/llagent.cpp
master
Ansariel 2024-10-15 22:46:23 +02:00 committed by Andrey Lihatskiy
parent 19347f7094
commit a510a1da00
2 changed files with 1 additions and 2 deletions

View File

@ -2438,7 +2438,7 @@ void LLInventoryFavoritesItemsPanel::itemChanged(const LLUUID& id, U32 mask, con
LLFavoritesCollector is_favorite;
LLInventoryModel::cat_array_t cat_array;
LLInventoryModel::item_array_t item_array;
gInventory.collectDescendentsIf(id, cat_array, item_array, FALSE, is_favorite);
gInventory.collectDescendentsIf(id, cat_array, item_array, false, is_favorite);
for (LLInventoryModel::cat_array_t::const_iterator it = cat_array.begin(); it != cat_array.end(); ++it)
{
removeFavorite((*it)->getUUID(), *it);

View File

@ -3325,7 +3325,6 @@ bool LLModelPreview::render()
fmp->setViewOptionEnabled("show_skin_weight", show_skin_weight);
}
}
//if (this) return TRUE;
if (upload_skin && !has_skin_weights)
{ //can't upload skin weights if model has no skin weights