SL-17106 Show self avatar in Nearby tab if same string is not excluded from search
parent
a41855ac54
commit
9f102ad748
|
|
@ -105,6 +105,7 @@ LLFloaterAvatarPicker::LLFloaterAvatarPicker(const LLSD& key)
|
|||
mNumResultsReturned(0),
|
||||
mNearMeListComplete(FALSE),
|
||||
mCloseOnSelect(FALSE),
|
||||
mExcludeAgentFromSearchResults(FALSE),
|
||||
mContextConeOpacity (0.f),
|
||||
mContextConeInAlpha(0.f),
|
||||
mContextConeOutAlpha(0.f),
|
||||
|
|
@ -295,7 +296,7 @@ void LLFloaterAvatarPicker::populateNearMe()
|
|||
for(U32 i=0; i<avatar_ids.size(); i++)
|
||||
{
|
||||
LLUUID& av = avatar_ids[i];
|
||||
if(av == gAgent.getID()) continue;
|
||||
if(mExcludeAgentFromSearchResults && (av == gAgent.getID())) continue;
|
||||
LLSD element;
|
||||
element["id"] = av; // value
|
||||
LLAvatarName av_name;
|
||||
|
|
|
|||
Loading…
Reference in New Issue