diff options
author | Loren Shih <seraph@lindenlab.com> | 2010-07-01 18:09:45 -0400 |
---|---|---|
committer | Loren Shih <seraph@lindenlab.com> | 2010-07-01 18:09:45 -0400 |
commit | cbcf080f2d566f6dd524354206efd7c2a3b1f6b4 (patch) | |
tree | 07cb6df190e3465d7c1a0a53735b5806235ebf06 | |
parent | 05bc1be479ca092822cf812abc8b09f2a81bee59 (diff) |
EXT-8202 FIXED Crash when dragging an item into an object
-rw-r--r-- | indra/newview/llinventoryfilter.cpp | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/indra/newview/llinventoryfilter.cpp b/indra/newview/llinventoryfilter.cpp index f8241320cf..5daf819410 100644 --- a/indra/newview/llinventoryfilter.cpp +++ b/indra/newview/llinventoryfilter.cpp @@ -238,6 +238,7 @@ BOOL LLInventoryFilter::checkAgainstFilterLinks(const LLFolderViewItem* item) co const LLUUID object_id = listener->getUUID(); const LLInventoryObject *object = gInventory.getObject(object_id); + if (!object) return FALSE; const BOOL is_link = object->getIsLinkType(); if (is_link && (mFilterOps.mFilterLinks == FILTERLINK_EXCLUDE_LINKS)) return FALSE; |