From 1f1d29e3462fb0adff9342b657160441d5b992d0 Mon Sep 17 00:00:00 2001 From: andreykproductengine Date: Wed, 28 Nov 2018 15:05:30 +0200 Subject: SL-9787 EEP Remove Apply to Region from right-click menus. --- indra/newview/llinventorybridge.cpp | 13 ------------- indra/newview/skins/default/xui/en/menu_inventory.xml | 7 ------- 2 files changed, 20 deletions(-) (limited to 'indra') diff --git a/indra/newview/llinventorybridge.cpp b/indra/newview/llinventorybridge.cpp index bc953f3ed1..6a5c124108 100644 --- a/indra/newview/llinventorybridge.cpp +++ b/indra/newview/llinventorybridge.cpp @@ -6946,19 +6946,6 @@ void LLSettingsBridge::performAction(LLInventoryModel* model, std::string action LL_WARNS("LAPRAS") << "Applying asset ID " << asset_id << " to parcel " << parcel_id << LL_ENDL; LLEnvironment::instance().updateParcel(parcel_id, asset_id, name, -1, -1); } - else if ("apply_settings_region" == action) - { - // Single item only - LLViewerInventoryItem* item = static_cast(getItem()); - if (!item) - return; - LLUUID asset_id = item->getAssetUUID(); - std::string name = item->getName(); - - LL_WARNS("LAPRAS") << "Applyng asset id " << asset_id << " to region." << LL_ENDL; - - LLEnvironment::instance().updateRegion(asset_id, name, -1, -1); - } else LLItemBridge::performAction(model, action); } diff --git a/indra/newview/skins/default/xui/en/menu_inventory.xml b/indra/newview/skins/default/xui/en/menu_inventory.xml index 6f04785e8c..9b24e2ffcf 100644 --- a/indra/newview/skins/default/xui/en/menu_inventory.xml +++ b/indra/newview/skins/default/xui/en/menu_inventory.xml @@ -880,13 +880,6 @@ function="Inventory.DoToSelected" parameter="apply_settings_parcel" /> - -