1
0
Fork 0
4Creative-Changes/Patch/0001-fix-permissions.patch

35 lines
1.2 KiB
Diff
Raw Normal View History

2020-06-13 19:56:48 +00:00
From c42a74fad3386e1b617fdd93a706709a546b74ab Mon Sep 17 00:00:00 2001
From: Christopher Latza <latzachristopher@live.de>
Date: Sat, 13 Jun 2020 21:56:02 +0200
Subject: [PATCH] fix permissions
---
OpenSim/Region/Framework/Scenes/SceneObjectGroup.Inventory.cs | 4 +++-
1 file changed, 3 insertions(+), 1 deletion(-)
diff --git a/OpenSim/Region/Framework/Scenes/SceneObjectGroup.Inventory.cs b/OpenSim/Region/Framework/Scenes/SceneObjectGroup.Inventory.cs
index 0c603b3244..3a7f754ab4 100644
--- a/OpenSim/Region/Framework/Scenes/SceneObjectGroup.Inventory.cs
+++ b/OpenSim/Region/Framework/Scenes/SceneObjectGroup.Inventory.cs
@@ -353,6 +353,8 @@ namespace OpenSim.Region.Framework.Scenes
public void AggregatePerms()
{
+ return;
+
lock(m_PermissionsLock)
{
// aux
@@ -420,7 +422,7 @@ namespace OpenSim.Region.Framework.Scenes
}
// recover move
- rootEveryonePerms &= (uint)PermissionMask.Move;
+ rootEveryonePerms &= PermissionMask.Move;
everyone |= rootEveryonePerms;
everyone &= ~(uint)PermissionMask.Modify;
if(noBaseTransfer)
--
2.27.0.windows.1