From 5a44656a2687de2f495708134308228d28a69971 Mon Sep 17 00:00:00 2001 From: Mnikolenko Productengine Date: Thu, 28 May 2020 16:19:53 +0300 Subject: SL-13337 Remove teen account limitations concerning undergarments --- indra/newview/llagentwearables.cpp | 7 ------- indra/newview/llstartup.cpp | 1 - indra/newview/llviewermenu.cpp | 14 -------------- indra/newview/llviewermenu.h | 1 - 4 files changed, 23 deletions(-) diff --git a/indra/newview/llagentwearables.cpp b/indra/newview/llagentwearables.cpp index 2411f0f86d..7f18ea6fe2 100644 --- a/indra/newview/llagentwearables.cpp +++ b/indra/newview/llagentwearables.cpp @@ -881,13 +881,6 @@ void LLAgentWearables::addWearableToAgentInventory(LLPointergetChild("Self Underpants")->setVisible(FALSE); - gMenuHolder->getChild("Self Undershirt")->setVisible(FALSE); - } - if (gMenuBarView && gAgent.isTeen()) - { - gMenuBarView->getChild("Menu Underpants")->setVisible(FALSE); - gMenuBarView->getChild("Menu Undershirt")->setVisible(FALSE); - } -} - void set_merchant_SLM_menu() { // All other cases (new merchant, not merchant, migrated merchant): show the new Marketplace Listings menu and enable the tool diff --git a/indra/newview/llviewermenu.h b/indra/newview/llviewermenu.h index ce84a4bbc3..bbced834ca 100644 --- a/indra/newview/llviewermenu.h +++ b/indra/newview/llviewermenu.h @@ -82,7 +82,6 @@ void handle_detach(void*); BOOL enable_god_full(void* user_data); BOOL enable_god_liaison(void* user_data); BOOL enable_god_basic(void* user_data); -void set_underclothes_menu_options(); void check_merchant_status(bool force = false); void exchange_callingcard(const LLUUID& dest_id); -- cgit v1.2.3