#4473 Permit zooming to self in people panel

meow-7.2.2
Andrey Kleshchev 2025-08-05 18:26:35 +03:00 committed by Andrey Kleshchev
parent c267497509
commit c8f1890f96
1 changed files with 5 additions and 1 deletions

View File

@ -154,11 +154,15 @@ void PeopleContextMenu::buildContextMenu(class LLMenuGL& menu, U32 flags)
bool PeopleContextMenu::enableContextMenuItem(const LLSD& userdata)
{
std::string item = userdata.asString();
if(gAgent.getID() == mUUIDs.front())
{
if (item == std::string("can_zoom_in"))
{
return true;
}
return false;
}
std::string item = userdata.asString();
// Note: can_block and can_delete is used only for one person selected menu
// so we don't need to go over all uuids.