* Make sure that deleted objects do not send further object updates to the client

This commit is contained in:
Justin Clarke Casey
2008-11-17 16:33:41 +00:00
parent dcfd343a1e
commit 99bd7cce2b
3 changed files with 11 additions and 16 deletions

View File

@@ -2074,6 +2074,9 @@ if (m_shape != null) {
//
if (ParentGroup.IsSelected && IsAttachment)
return;
if (ParentGroup.IsDeleted)
return;
clientFlags &= ~(uint) PrimFlags.CreateSelected;
@@ -2179,16 +2182,7 @@ if (m_shape != null) {
}
/// <summary>
/// Send a terse update to the client.
/// </summary>
/// <param name="remoteClient"></param>
// public void SendTerseUpdate(IClientAPI remoteClient)
// {
// SendTerseUpdateToClient(remoteClient);
// }
/// <summary>
///
/// Send a terse update to all clients
/// </summary>
public void SendTerseUpdateToAllClients()
{
@@ -2199,11 +2193,6 @@ if (m_shape != null) {
}
}
// public void SendTerseUpdateToClient(IClientAPI remoteClient, Vector3 lPos)
// {
// SendTerseUpdateToClient(remoteclient);
// }
public void SetAttachmentPoint(uint AttachmentPoint)
{
this.AttachmentPoint = AttachmentPoint;