Skip to content
Snippets Groups Projects
Commit 97d52e2a authored by Merov Linden's avatar Merov Linden
Browse files

SNOW-680 VWR-10854 : Honour share with group and allow anyone to copy for snapshots

parent c24db314
No related branches found
No related tags found
No related merge requests found
...@@ -184,6 +184,7 @@ Carjay McGinnis ...@@ -184,6 +184,7 @@ Carjay McGinnis
Catherine Pfeffer Catherine Pfeffer
VWR-1282 VWR-1282
VWR-8624 VWR-8624
VWR-10854
Celierra Darling Celierra Darling
VWR-1274 VWR-1274
VWR-6975 VWR-6975
...@@ -631,6 +632,7 @@ Teardrops Fall ...@@ -631,6 +632,7 @@ Teardrops Fall
Techwolf Lupindo Techwolf Lupindo
SNOW-92 SNOW-92
SNOW-649 SNOW-649
SNOW-680
VWR-12385 VWR-12385
tenebrous pau tenebrous pau
VWR-247 VWR-247
......
...@@ -115,7 +115,7 @@ U32 LLFloaterPerms::getEveryonePerms(std::string prefix) ...@@ -115,7 +115,7 @@ U32 LLFloaterPerms::getEveryonePerms(std::string prefix)
//static //static
U32 LLFloaterPerms::getNextOwnerPerms(std::string prefix) U32 LLFloaterPerms::getNextOwnerPerms(std::string prefix)
{ {
U32 flags = 0; U32 flags = PERM_MOVE;
if ( gSavedSettings.getBOOL(prefix+"NextOwnerCopy") ) if ( gSavedSettings.getBOOL(prefix+"NextOwnerCopy") )
{ {
flags |= PERM_COPY; flags |= PERM_COPY;
......
...@@ -35,6 +35,7 @@ ...@@ -35,6 +35,7 @@
#include "llagentcamera.h" #include "llagentcamera.h"
#include "llcallbacklist.h" #include "llcallbacklist.h"
#include "llcriticaldamp.h" #include "llcriticaldamp.h"
#include "llfloaterperms.h"
#include "llui.h" #include "llui.h"
#include "llfocusmgr.h" #include "llfocusmgr.h"
#include "llbutton.h" #include "llbutton.h"
...@@ -999,8 +1000,8 @@ void LLSnapshotLivePreview::saveTexture() ...@@ -999,8 +1000,8 @@ void LLSnapshotLivePreview::saveTexture()
LLFolderType::FT_SNAPSHOT_CATEGORY, LLFolderType::FT_SNAPSHOT_CATEGORY,
LLInventoryType::IT_SNAPSHOT, LLInventoryType::IT_SNAPSHOT,
PERM_ALL, // Note: Snapshots to inventory is a special case of content upload PERM_ALL, // Note: Snapshots to inventory is a special case of content upload
PERM_NONE, // that ignores the user's premissions preferences and continues to LLFloaterPerms::getGroupPerms(), // that is more permissive than other uploads
PERM_NONE, // always use these fairly permissive hard-coded initial perms. - MG LLFloaterPerms::getEveryonePerms(),
"Snapshot : " + pos_string, "Snapshot : " + pos_string,
callback, expected_upload_cost, userdata); callback, expected_upload_cost, userdata);
gViewerWindow->playSnapshotAnimAndSound(); gViewerWindow->playSnapshotAnimAndSound();
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment