fix a group owned permission

master
UbitUmarov 2020-02-13 02:58:32 +00:00
parent e1d5892f78
commit 75e5217fff
1 changed files with 3 additions and 2 deletions

View File

@ -872,7 +872,8 @@ namespace OpenSim.Region.CoreModules.World.Permissions
returnMask = ApplyObjectModifyMasks(grpEffectiveOwnerPerms, objflags, unlocked);
returnMask |=
(uint)PrimFlags.ObjectGroupOwned |
(uint)PrimFlags.ObjectYouOwner;
(uint)PrimFlags.ObjectYouOwner |
(uint)PrimFlags.ObjectAnyOwner;
if ((returnMask & (uint)PrimFlags.ObjectModify) != 0)
returnMask |= (uint)PrimFlags.ObjectOwnerModify;
return returnMask;