Allow renaming of items that contain no-mod items
parent
a87d7a1296
commit
884410501e
|
@ -1803,8 +1803,13 @@ namespace OpenSim.Region.Framework.Scenes
|
||||||
}
|
}
|
||||||
else
|
else
|
||||||
{
|
{
|
||||||
item.BasePermissions = objectGroup.GetEffectivePermissions();
|
uint ownerPerms = objectGroup.GetEffectivePermissions();
|
||||||
item.CurrentPermissions = objectGroup.GetEffectivePermissions();
|
if ((objectGroup.RootPart.OwnerMask & (uint)PermissionMask.Modify) != 0)
|
||||||
|
ownerPerms |= (uint)PermissionMask.Modify;
|
||||||
|
|
||||||
|
item.BasePermissions = ownerPerms;
|
||||||
|
item.CurrentPermissions = ownerPerms;
|
||||||
|
|
||||||
item.NextPermissions = objectGroup.RootPart.NextOwnerMask;
|
item.NextPermissions = objectGroup.RootPart.NextOwnerMask;
|
||||||
item.EveryOnePermissions = objectGroup.RootPart.EveryoneMask;
|
item.EveryOnePermissions = objectGroup.RootPart.EveryoneMask;
|
||||||
item.GroupPermissions = objectGroup.RootPart.GroupMask;
|
item.GroupPermissions = objectGroup.RootPart.GroupMask;
|
||||||
|
|
Loading…
Reference in New Issue