#4473 Permit zooming to self in people panel
parent
c267497509
commit
c8f1890f96
|
|
@ -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.
|
||||
|
|
|
|||
Loading…
Reference in New Issue