Skip to content

Commit c8f1890

Browse files
committed
#4473 Permit zooming to self in people panel
1 parent c267497 commit c8f1890

File tree

1 file changed

+5
-1
lines changed

1 file changed

+5
-1
lines changed

indra/newview/llpanelpeoplemenus.cpp

Lines changed: 5 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -154,11 +154,15 @@ void PeopleContextMenu::buildContextMenu(class LLMenuGL& menu, U32 flags)
154154

155155
bool PeopleContextMenu::enableContextMenuItem(const LLSD& userdata)
156156
{
157+
std::string item = userdata.asString();
157158
if(gAgent.getID() == mUUIDs.front())
158159
{
160+
if (item == std::string("can_zoom_in"))
161+
{
162+
return true;
163+
}
159164
return false;
160165
}
161-
std::string item = userdata.asString();
162166

163167
// Note: can_block and can_delete is used only for one person selected menu
164168
// so we don't need to go over all uuids.

0 commit comments

Comments
 (0)