diff options
author | Melanie Thielker | 2008-11-21 22:14:57 +0000 |
---|---|---|
committer | Melanie Thielker | 2008-11-21 22:14:57 +0000 |
commit | ba723a4cf65e7a82f5072eaab51dc008f4a2bfd9 (patch) | |
tree | db636daea691f80b0d8bfd3970b8ced36ef9ced0 /OpenSim/Region/Environment/Scenes/SceneObjectGroup.cs | |
parent | * Comment out unused access time method in MSSQL (diff) | |
download | opensim-SC_OLD-ba723a4cf65e7a82f5072eaab51dc008f4a2bfd9.zip opensim-SC_OLD-ba723a4cf65e7a82f5072eaab51dc008f4a2bfd9.tar.gz opensim-SC_OLD-ba723a4cf65e7a82f5072eaab51dc008f4a2bfd9.tar.bz2 opensim-SC_OLD-ba723a4cf65e7a82f5072eaab51dc008f4a2bfd9.tar.xz |
Refactor: Scene.ExternalChecks -> Scene.Permissions. Also make all
the internals of the permissions module adapter sane
Diffstat (limited to 'OpenSim/Region/Environment/Scenes/SceneObjectGroup.cs')
-rw-r--r-- | OpenSim/Region/Environment/Scenes/SceneObjectGroup.cs | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/OpenSim/Region/Environment/Scenes/SceneObjectGroup.cs b/OpenSim/Region/Environment/Scenes/SceneObjectGroup.cs index fcda37b..0eefda1 100644 --- a/OpenSim/Region/Environment/Scenes/SceneObjectGroup.cs +++ b/OpenSim/Region/Environment/Scenes/SceneObjectGroup.cs | |||
@@ -1277,14 +1277,14 @@ namespace OpenSim.Region.Environment.Scenes | |||
1277 | 1277 | ||
1278 | public void SendFullUpdateToClient(IClientAPI remoteClient) | 1278 | public void SendFullUpdateToClient(IClientAPI remoteClient) |
1279 | { | 1279 | { |
1280 | SendPartFullUpdate(remoteClient, RootPart, m_scene.ExternalChecks.ExternalChecksGenerateClientFlags(remoteClient.AgentId, RootPart.UUID)); | 1280 | SendPartFullUpdate(remoteClient, RootPart, m_scene.Permissions.GenerateClientFlags(remoteClient.AgentId, RootPart.UUID)); |
1281 | 1281 | ||
1282 | lock (m_parts) | 1282 | lock (m_parts) |
1283 | { | 1283 | { |
1284 | foreach (SceneObjectPart part in m_parts.Values) | 1284 | foreach (SceneObjectPart part in m_parts.Values) |
1285 | { | 1285 | { |
1286 | if (part != RootPart) | 1286 | if (part != RootPart) |
1287 | SendPartFullUpdate(remoteClient, part, m_scene.ExternalChecks.ExternalChecksGenerateClientFlags(remoteClient.AgentId, part.UUID)); | 1287 | SendPartFullUpdate(remoteClient, part, m_scene.Permissions.GenerateClientFlags(remoteClient.AgentId, part.UUID)); |
1288 | } | 1288 | } |
1289 | } | 1289 | } |
1290 | } | 1290 | } |
@@ -1493,7 +1493,7 @@ namespace OpenSim.Region.Environment.Scenes | |||
1493 | if (part.OwnerID != cAgentID) | 1493 | if (part.OwnerID != cAgentID) |
1494 | { | 1494 | { |
1495 | // Apply Next Owner Permissions if we're not bypassing permissions | 1495 | // Apply Next Owner Permissions if we're not bypassing permissions |
1496 | if (!m_scene.ExternalChecks.ExternalChecksBypassPermissions()) | 1496 | if (!m_scene.Permissions.BypassPermissions()) |
1497 | ApplyNextOwnerPermissions(); | 1497 | ApplyNextOwnerPermissions(); |
1498 | } | 1498 | } |
1499 | 1499 | ||