* This updates adds locking capability. Thanks, lbsa71 for pointing out my bitmasking error of the objectflags! It's still a little bit wonky when you check the checkbox, however it 'takes' and doesn't break anything.

This commit is contained in:
Teravus Ovares
2008-02-10 21:27:32 +00:00
parent 0756e01475
commit 38f0615ffe
4 changed files with 49 additions and 66 deletions

View File

@@ -1620,13 +1620,14 @@ namespace OpenSim.Region.Environment.Scenes
{
if (addRemTF == (byte)0)
{
m_parentGroup.SetLocked(true);
//OwnerMask &= ~mask;
//m_parentGroup.SetLocked(true);
//PermissionMask.
OwnerMask &= ~mask;
}
else
{
m_parentGroup.SetLocked(false);
//OwnerMask |= mask;
//m_parentGroup.SetLocked(false);
OwnerMask |= mask;
}
SendFullUpdateToAllClients();