Stop generating client flags when we send out full object updates.

These were entirely unused.
This commit is contained in:
Justin Clark-Casey (justincc)
2011-12-16 23:20:12 +00:00
parent 5c4056660f
commit a3a17e929e
4 changed files with 11 additions and 27 deletions

View File

@@ -1377,15 +1377,14 @@ namespace OpenSim.Region.Framework.Scenes
// Used when the client initially connects and when client sends RequestPrim packet
public void SendFullUpdateToClient(IClientAPI remoteClient)
{
RootPart.SendFullUpdate(
remoteClient, m_scene.Permissions.GenerateClientFlags(remoteClient.AgentId, RootPart.UUID));
RootPart.SendFullUpdate(remoteClient);
SceneObjectPart[] parts = m_parts.GetArray();
for (int i = 0; i < parts.Length; i++)
{
SceneObjectPart part = parts[i];
if (part != RootPart)
part.SendFullUpdate(remoteClient, m_scene.Permissions.GenerateClientFlags(remoteClient.AgentId, part.UUID));
part.SendFullUpdate(remoteClient);
}
}