diff options
author | angela <angela@lindenlab.com> | 2009-11-11 14:34:00 +0800 |
---|---|---|
committer | angela <angela@lindenlab.com> | 2009-11-11 14:34:00 +0800 |
commit | 3cfd8a7ae8fb760fccfc992d8185db7bb37ff4ec (patch) | |
tree | c4e0781afdaf94f3e885d4af41d1c9b3e3add8a6 /indra/newview/llinventorymodel.cpp | |
parent | 37ac878ec06138e35507f0dd007556cc613ee08f (diff) |
adding warning msg when fetching for folders with NULL uuid
Diffstat (limited to 'indra/newview/llinventorymodel.cpp')
-rw-r--r-- | indra/newview/llinventorymodel.cpp | 7 |
1 files changed, 5 insertions, 2 deletions
diff --git a/indra/newview/llinventorymodel.cpp b/indra/newview/llinventorymodel.cpp index 4b7e364cf9..e7d7eb19d0 100644 --- a/indra/newview/llinventorymodel.cpp +++ b/indra/newview/llinventorymodel.cpp @@ -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) { |