STORM-68 Remove incorrect method of setting default object permissions

meow-7.2.2
Jonathan Yap 2013-12-06 17:48:12 -05:00
parent 096530b726
commit b6cda94fa5
1 changed files with 0 additions and 11 deletions

View File

@ -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();
}