summaryrefslogtreecommitdiff
path: root/indra/newview/llsettingsvo.cpp
diff options
context:
space:
mode:
authorGraham Linden <graham@lindenlab.com>2018-09-24 19:53:50 +0100
committerGraham Linden <graham@lindenlab.com>2018-09-24 19:53:50 +0100
commit5969609c4703cd21e431e05bcb0c48fc241faf11 (patch)
tree5b699579b26b1b60b901997aa2da3d333de99ccb /indra/newview/llsettingsvo.cpp
parent501cd7d9022d1ac719fb56d22c6a8e3fd5d122ca (diff)
parentc1974bf10a5562aed73be2d4d7d5446b668d40cb (diff)
Merge
Diffstat (limited to 'indra/newview/llsettingsvo.cpp')
-rw-r--r--indra/newview/llsettingsvo.cpp4
1 files changed, 3 insertions, 1 deletions
diff --git a/indra/newview/llsettingsvo.cpp b/indra/newview/llsettingsvo.cpp
index 583adcb024..4073639a20 100644
--- a/indra/newview/llsettingsvo.cpp
+++ b/indra/newview/llsettingsvo.cpp
@@ -43,6 +43,7 @@
#include "llagent.h"
#include "llassettype.h"
+#include "llfloaterperms.h"
#include "llnotificationsutil.h"
#include "llviewerregion.h"
@@ -95,7 +96,8 @@ namespace
void LLSettingsVOBase::createNewInventoryItem(LLSettingsType::type_e stype, const LLUUID &parent_id, inventory_result_fn callback)
{
LLTransactionID tid;
- U32 nextOwnerPerm = LLPermissions::DEFAULT.getMaskNextOwner();
+ U32 nextOwnerPerm = LLFloaterPerms::getNextOwnerPerms("Settings");
+ nextOwnerPerm |= PERM_COPY;
if (!LLEnvironment::instance().isInventoryEnabled())
{