From a639642c218161901515d74852c5b61961ce3032 Mon Sep 17 00:00:00 2001 From: maxim_productengine Date: Wed, 17 Oct 2018 17:50:56 +0300 Subject: SL-9853 FIXED [EEP] Default Settings object cannot be copied by other users. --- indra/newview/llsettingsvo.cpp | 8 ++++++++ 1 file changed, 8 insertions(+) (limited to 'indra') diff --git a/indra/newview/llsettingsvo.cpp b/indra/newview/llsettingsvo.cpp index 8e55ae395a..1f62b98889 100644 --- a/indra/newview/llsettingsvo.cpp +++ b/indra/newview/llsettingsvo.cpp @@ -158,6 +158,14 @@ void LLSettingsVOBase::onInventoryItemCreated(const LLUUID &inventoryId, LLSetti if (pitem) { asset_id = pitem->getAssetUUID(); + + LLPermissions perm = pitem->getPermissions(); + if (perm.getMaskEveryone() != PERM_COPY) + { + perm.setMaskEveryone(PERM_COPY); + pitem->setPermissions(perm); + pitem->updateServer(FALSE); + } } if (callback) callback(asset_id, inventoryId, LLUUID::null, LLSD()); -- cgit v1.2.3