Abort fetch of null folders.

This commit is contained in:
Shyotl
2011-07-12 03:39:41 -05:00
parent cae99f6cc8
commit 8fde48bcb2

View File

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