summaryrefslogtreecommitdiff
path: root/indra/newview/llviewerobjectlist.h
diff options
context:
space:
mode:
authorDenis Serdjuk <dserduk@productengine.com>2010-02-12 16:09:18 +0200
committerDenis Serdjuk <dserduk@productengine.com>2010-02-12 16:09:18 +0200
commitc06742b231b9e7b108f5e3dce6b72d9b9a639537 (patch)
tree957cbf2e811f13b31299d014f157e32f297377e7 /indra/newview/llviewerobjectlist.h
parent8b609519ea46b785e529c83067ede3656fc10828 (diff)
fixed Bug Low EXT-4732 Group invitation is broken for offline avatars
Cause: gObjectList does contain offline avatars and panel could get avatar name and fill the list Solution: This situation is possible only for offline friend, therefore extra avatartracker search has been added. --HG-- branch : product-engine
Diffstat (limited to 'indra/newview/llviewerobjectlist.h')
-rw-r--r--indra/newview/llviewerobjectlist.h4
1 files changed, 4 insertions, 0 deletions
diff --git a/indra/newview/llviewerobjectlist.h b/indra/newview/llviewerobjectlist.h
index ace5c5038e..2858081dc9 100644
--- a/indra/newview/llviewerobjectlist.h
+++ b/indra/newview/llviewerobjectlist.h
@@ -233,6 +233,10 @@ public:
extern LLViewerObjectList gObjectList;
// Inlines
+/**
+ * Note:
+ * it will return NULL for offline avatar_id
+ */
inline LLViewerObject *LLViewerObjectList::findObject(const LLUUID &id)
{
std::map<LLUUID, LLPointer<LLViewerObject> >::iterator iter = mUUIDObjectMap.find(id);