diff options
author | Loren Shih <seraph@lindenlab.com> | 2010-08-31 19:55:19 -0400 |
---|---|---|
committer | Loren Shih <seraph@lindenlab.com> | 2010-08-31 19:55:19 -0400 |
commit | 704405903f8d1606ef98df76d37c83931e5368ab (patch) | |
tree | 7a970bcfad80962c4d0e96e9351ed718da687dff /indra/newview/llinventorymodel.cpp | |
parent | 85d659f44d2badfd42ee9b1ae7cd0971806672d4 (diff) | |
parent | 3cabca8df62ae8ee815dd7d885f14f5a7d0ea98d (diff) |
pull from viewer-development
Diffstat (limited to 'indra/newview/llinventorymodel.cpp')
-rw-r--r-- | indra/newview/llinventorymodel.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/indra/newview/llinventorymodel.cpp b/indra/newview/llinventorymodel.cpp index 08229d3a50..53835f0166 100644 --- a/indra/newview/llinventorymodel.cpp +++ b/indra/newview/llinventorymodel.cpp @@ -501,7 +501,7 @@ void LLInventoryModel::collectDescendentsIf(const LLUUID& id, for(S32 i = 0; i < count; ++i) { item = item_array->get(i); - if (item->getActualType() == LLAssetType::AT_LINK_FOLDER) + if (item && item->getActualType() == LLAssetType::AT_LINK_FOLDER) { LLViewerInventoryCategory *linked_cat = item->getLinkedCategory(); if (linked_cat && linked_cat->getPreferredType() != LLFolderType::FT_OUTFIT) |