From b6cda94fa5daae104be37cdce393e255022c79cd Mon Sep 17 00:00:00 2001
From: Jonathan Yap <none@none>
Date: Fri, 6 Dec 2013 17:48:12 -0500
Subject: STORM-68 Remove incorrect method of setting default object
 permissions

---
 indra/newview/llviewerobjectlist.cpp | 11 -----------
 1 file changed, 11 deletions(-)

(limited to 'indra')

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();
 		}
 
-- 
cgit v1.2.3