diff options
author | Jonathan Yap <none@none> | 2013-12-06 17:48:12 -0500 |
---|---|---|
committer | Jonathan Yap <none@none> | 2013-12-06 17:48:12 -0500 |
commit | b6cda94fa5daae104be37cdce393e255022c79cd (patch) | |
tree | b4075e6eccc00414344039bfdf30b74751ebf3f8 /indra/newview/llviewerobjectlist.cpp | |
parent | 096530b7265223ade02a86977973b7e5df12e93c (diff) |
STORM-68 Remove incorrect method of setting default object permissions
Diffstat (limited to 'indra/newview/llviewerobjectlist.cpp')
-rwxr-xr-x | indra/newview/llviewerobjectlist.cpp | 11 |
1 files changed, 0 insertions, 11 deletions
diff --git a/indra/newview/llviewerobjectlist.cpp b/indra/newview/llviewerobjectlist.cpp index 34d36dd887..b7a4510bac 100755 --- a/indra/newview/llviewerobjectlist.cpp +++ b/indra/newview/llviewerobjectlist.cpp @@ -266,17 +266,6 @@ void LLViewerObjectList::processUpdateCore(LLViewerObject* objectp, // llinfos << "DEBUG selecting " << objectp->mID << " " // << objectp->mLocalID << llendl; LLSelectMgr::getInstance()->selectObjectAndFamily(objectp); - - // This is a bit of a hack. Because the server ensures one of either COPY or TRANSFER is always be on - // to set the bits we want it is first necessary to set them all on and then clear the ones that - // are not needed. - LLSelectMgr::getInstance()->selectionSetObjectPermissions(PERM_NEXT_OWNER, TRUE, PERM_COPY | PERM_MODIFY | PERM_TRANSFER); - LLSelectMgr::getInstance()->selectionSetObjectPermissions(PERM_NEXT_OWNER, FALSE, LLFloaterPerms::getNextOwnerPermsInverted("Objects")); - - LLSelectMgr::getInstance()->selectionSetObjectPermissions(PERM_EVERYONE, TRUE, LLFloaterPerms::getEveryonePerms("Objects")); - - LLSelectMgr::getInstance()->selectionSetObjectPermissions(PERM_GROUP, TRUE, LLFloaterPerms::getGroupPerms("Objects")); - dialog_refresh_all(); } |