mirror of
https://github.com/opensim/opensim.git
synced 2026-08-07 09:45:47 +08:00
Merge branch 'avination' into careminster
This commit is contained in:
@@ -3457,7 +3457,9 @@ namespace OpenSim.Region.Framework.Scenes
|
||||
part.ClonePermissions(RootPart);
|
||||
});
|
||||
|
||||
RootPart.OwnerMask = newOwnerMask | foldedPerms;
|
||||
uint lockMask = ~(uint)PermissionMask.Move;
|
||||
uint lockBit = RootPart.OwnerMask & (uint)PermissionMask.Move;
|
||||
RootPart.OwnerMask = (RootPart.OwnerMask & lockBit) | ((newOwnerMask | foldedPerms) & lockMask);
|
||||
RootPart.ScheduleFullUpdate();
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user