summaryrefslogtreecommitdiff
path: root/indra/newview/llinventorybridge.cpp
diff options
context:
space:
mode:
authormaxim_productengine <mnikolenko@productengine.com>2018-11-30 17:48:08 +0200
committermaxim_productengine <mnikolenko@productengine.com>2018-11-30 17:48:08 +0200
commitd66012f85e885679738cf8c488fd8ff460319c85 (patch)
treebb1941153a12040abb44f66e25a4255e2f7bad54 /indra/newview/llinventorybridge.cpp
parent58ffb2e4b11d7aaf1fb66531f4925bd359f551cb (diff)
SL-9716 [EEP] "Use Shared Environment" does not enable when applying an environment to a parcel or region
Diffstat (limited to 'indra/newview/llinventorybridge.cpp')
-rw-r--r--indra/newview/llinventorybridge.cpp1
1 files changed, 1 insertions, 0 deletions
diff --git a/indra/newview/llinventorybridge.cpp b/indra/newview/llinventorybridge.cpp
index 6a5c124108..f2d418fc9d 100644
--- a/indra/newview/llinventorybridge.cpp
+++ b/indra/newview/llinventorybridge.cpp
@@ -6945,6 +6945,7 @@ 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);
+ LLEnvironment::instance().setSharedEnvironment();
}
else
LLItemBridge::performAction(model, action);