adding warning msg when fetching for folders with NULL uuid
parent
37ac878ec0
commit
3cfd8a7ae8
|
|
@ -1271,8 +1271,11 @@ void LLInventoryModel::fetchInventoryResponder::error(U32 status, const std::str
|
||||||
|
|
||||||
bool LLInventoryModel::fetchDescendentsOf(const LLUUID& folder_id)
|
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);
|
LLViewerInventoryCategory* cat = getCategory(folder_id);
|
||||||
if(!cat)
|
if(!cat)
|
||||||
{
|
{
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue