diff options
Diffstat (limited to 'OpenSim/Region/Framework/Scenes/SceneObjectGroup.cs')
-rw-r--r-- | OpenSim/Region/Framework/Scenes/SceneObjectGroup.cs | 5 |
1 files changed, 2 insertions, 3 deletions
diff --git a/OpenSim/Region/Framework/Scenes/SceneObjectGroup.cs b/OpenSim/Region/Framework/Scenes/SceneObjectGroup.cs index f9e0b83..20ef8c9 100644 --- a/OpenSim/Region/Framework/Scenes/SceneObjectGroup.cs +++ b/OpenSim/Region/Framework/Scenes/SceneObjectGroup.cs | |||
@@ -1377,15 +1377,14 @@ namespace OpenSim.Region.Framework.Scenes | |||
1377 | // Used when the client initially connects and when client sends RequestPrim packet | 1377 | // Used when the client initially connects and when client sends RequestPrim packet |
1378 | public void SendFullUpdateToClient(IClientAPI remoteClient) | 1378 | public void SendFullUpdateToClient(IClientAPI remoteClient) |
1379 | { | 1379 | { |
1380 | RootPart.SendFullUpdate( | 1380 | RootPart.SendFullUpdate(remoteClient); |
1381 | remoteClient, m_scene.Permissions.GenerateClientFlags(remoteClient.AgentId, RootPart.UUID)); | ||
1382 | 1381 | ||
1383 | SceneObjectPart[] parts = m_parts.GetArray(); | 1382 | SceneObjectPart[] parts = m_parts.GetArray(); |
1384 | for (int i = 0; i < parts.Length; i++) | 1383 | for (int i = 0; i < parts.Length; i++) |
1385 | { | 1384 | { |
1386 | SceneObjectPart part = parts[i]; | 1385 | SceneObjectPart part = parts[i]; |
1387 | if (part != RootPart) | 1386 | if (part != RootPart) |
1388 | part.SendFullUpdate(remoteClient, m_scene.Permissions.GenerateClientFlags(remoteClient.AgentId, part.UUID)); | 1387 | part.SendFullUpdate(remoteClient); |
1389 | } | 1388 | } |
1390 | } | 1389 | } |
1391 | 1390 | ||