diff options
author | Graham Linden <graham@lindenlab.com> | 2018-09-24 19:53:50 +0100 |
---|---|---|
committer | Graham Linden <graham@lindenlab.com> | 2018-09-24 19:53:50 +0100 |
commit | 5969609c4703cd21e431e05bcb0c48fc241faf11 (patch) | |
tree | 5b699579b26b1b60b901997aa2da3d333de99ccb /indra/newview/llsettingsvo.cpp | |
parent | 501cd7d9022d1ac719fb56d22c6a8e3fd5d122ca (diff) | |
parent | c1974bf10a5562aed73be2d4d7d5446b668d40cb (diff) |
Merge
Diffstat (limited to 'indra/newview/llsettingsvo.cpp')
-rw-r--r-- | indra/newview/llsettingsvo.cpp | 4 |
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()) { |