adding warning msg when fetching for folders with NULL uuid

master
angela 2009-11-11 14:34:00 +08:00
parent 37ac878ec0
commit 3cfd8a7ae8
1 changed files with 5 additions and 2 deletions

View File

@ -1271,8 +1271,11 @@ void LLInventoryModel::fetchInventoryResponder::error(U32 status, const std::str
bool LLInventoryModel::fetchDescendentsOf(const LLUUID& folder_id)
{
if(folder_id.isNull()) return false;
if(folder_id.isNull())
{
llwarns << "Calling fetch descendents on NULL folder id!" << llendl;
return false;
}
LLViewerInventoryCategory* cat = getCategory(folder_id);
if(!cat)
{