diff options
author | Andrey Kleshchev <andreykproductengine@lindenlab.com> | 2025-08-05 18:26:35 +0300 |
---|---|---|
committer | Andrey Kleshchev <117672381+akleshchev@users.noreply.github.com> | 2025-08-05 22:23:54 +0300 |
commit | c8f1890f963a7c6ec288e3155e553f9411101417 (patch) | |
tree | a6045d227ec94c34fce2ef40533f80a459c32ec7 | |
parent | c26749750998c2efaa5208b83bc48d65dfa60274 (diff) |
#4473 Permit zooming to self in people panel
-rw-r--r-- | indra/newview/llpanelpeoplemenus.cpp | 6 |
1 files changed, 5 insertions, 1 deletions
diff --git a/indra/newview/llpanelpeoplemenus.cpp b/indra/newview/llpanelpeoplemenus.cpp index f8a73ddb46..939b1f12a9 100644 --- a/indra/newview/llpanelpeoplemenus.cpp +++ b/indra/newview/llpanelpeoplemenus.cpp @@ -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. |