From c06742b231b9e7b108f5e3dce6b72d9b9a639537 Mon Sep 17 00:00:00 2001 From: Denis Serdjuk Date: Fri, 12 Feb 2010 16:09:18 +0200 Subject: 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 --- indra/newview/llviewerobjectlist.h | 4 ++++ 1 file changed, 4 insertions(+) (limited to 'indra/newview/llviewerobjectlist.h') 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 >::iterator iter = mUUIDObjectMap.find(id); -- cgit v1.2.3