mirror of
https://github.com/opensim/opensim.git
synced 2026-08-07 01:35:46 +08:00
Stop generating client flags when we send out full object updates.
These were entirely unused.
This commit is contained in:
@@ -2836,8 +2836,7 @@ namespace OpenSim.Region.Framework.Scenes
|
||||
/// Send a full update to the client for the given part
|
||||
/// </summary>
|
||||
/// <param name="remoteClient"></param>
|
||||
/// <param name="clientFlags"></param>
|
||||
protected internal void SendFullUpdate(IClientAPI remoteClient, uint clientFlags)
|
||||
protected internal void SendFullUpdate(IClientAPI remoteClient)
|
||||
{
|
||||
if (ParentGroup == null)
|
||||
return;
|
||||
@@ -2849,16 +2848,16 @@ namespace OpenSim.Region.Framework.Scenes
|
||||
{
|
||||
if (ParentGroup.IsAttachment)
|
||||
{
|
||||
SendFullUpdateToClient(remoteClient, AttachedPos, clientFlags);
|
||||
SendFullUpdateToClient(remoteClient, AttachedPos);
|
||||
}
|
||||
else
|
||||
{
|
||||
SendFullUpdateToClient(remoteClient, AbsolutePosition, clientFlags);
|
||||
SendFullUpdateToClient(remoteClient, AbsolutePosition);
|
||||
}
|
||||
}
|
||||
else
|
||||
{
|
||||
SendFullUpdateToClient(remoteClient, clientFlags);
|
||||
SendFullUpdateToClient(remoteClient);
|
||||
}
|
||||
}
|
||||
|
||||
@@ -2872,7 +2871,7 @@ namespace OpenSim.Region.Framework.Scenes
|
||||
|
||||
ParentGroup.Scene.ForEachScenePresence(delegate(ScenePresence avatar)
|
||||
{
|
||||
SendFullUpdate(avatar.ControllingClient, avatar.GenerateClientFlags(UUID));
|
||||
SendFullUpdate(avatar.ControllingClient);
|
||||
});
|
||||
}
|
||||
|
||||
@@ -2880,12 +2879,9 @@ namespace OpenSim.Region.Framework.Scenes
|
||||
/// Sends a full update to the client
|
||||
/// </summary>
|
||||
/// <param name="remoteClient"></param>
|
||||
/// <param name="clientFlags"></param>
|
||||
public void SendFullUpdateToClient(IClientAPI remoteClient, uint clientflags)
|
||||
public void SendFullUpdateToClient(IClientAPI remoteClient)
|
||||
{
|
||||
Vector3 lPos;
|
||||
lPos = OffsetPosition;
|
||||
SendFullUpdateToClient(remoteClient, lPos, clientflags);
|
||||
SendFullUpdateToClient(remoteClient, OffsetPosition);
|
||||
}
|
||||
|
||||
/// <summary>
|
||||
@@ -2893,8 +2889,7 @@ namespace OpenSim.Region.Framework.Scenes
|
||||
/// </summary>
|
||||
/// <param name="remoteClient"></param>
|
||||
/// <param name="lPos"></param>
|
||||
/// <param name="clientFlags"></param>
|
||||
public void SendFullUpdateToClient(IClientAPI remoteClient, Vector3 lPos, uint clientFlags)
|
||||
public void SendFullUpdateToClient(IClientAPI remoteClient, Vector3 lPos)
|
||||
{
|
||||
if (ParentGroup == null)
|
||||
return;
|
||||
@@ -2911,15 +2906,10 @@ namespace OpenSim.Region.Framework.Scenes
|
||||
(ParentGroup.AttachmentPoint >= 31) && (ParentGroup.AttachmentPoint <= 38))
|
||||
return;
|
||||
|
||||
clientFlags &= ~(uint) PrimFlags.CreateSelected;
|
||||
|
||||
if (remoteClient.AgentId == OwnerID)
|
||||
{
|
||||
if ((Flags & PrimFlags.CreateSelected) != 0)
|
||||
{
|
||||
clientFlags |= (uint) PrimFlags.CreateSelected;
|
||||
Flags &= ~PrimFlags.CreateSelected;
|
||||
}
|
||||
}
|
||||
//bool isattachment = IsAttachment;
|
||||
//if (LocalId != ParentGroup.RootPart.LocalId)
|
||||
|
||||
Reference in New Issue
Block a user