* Make sure that deleted objects do not send further object updates to the client
parent
dcfd343a1e
commit
99bd7cce2b
|
@ -131,7 +131,7 @@ namespace OpenSim.Region.Environment.Scenes
|
||||||
}
|
}
|
||||||
catch (Exception e)
|
catch (Exception e)
|
||||||
{
|
{
|
||||||
m_log.DebugFormat("Exception background deleting object: " +e);
|
m_log.DebugFormat("Exception background deleting object: " + e);
|
||||||
}
|
}
|
||||||
|
|
||||||
return true;
|
return true;
|
||||||
|
|
|
@ -1682,6 +1682,9 @@ namespace OpenSim.Region.Environment.Scenes
|
||||||
/// </summary>
|
/// </summary>
|
||||||
public void SendGroupFullUpdate()
|
public void SendGroupFullUpdate()
|
||||||
{
|
{
|
||||||
|
if (IsDeleted)
|
||||||
|
return;
|
||||||
|
|
||||||
RootPart.SendFullUpdateToAllClients();
|
RootPart.SendFullUpdateToAllClients();
|
||||||
|
|
||||||
lock (m_parts)
|
lock (m_parts)
|
||||||
|
@ -1704,6 +1707,9 @@ namespace OpenSim.Region.Environment.Scenes
|
||||||
/// </summary>
|
/// </summary>
|
||||||
public void SendGroupTerseUpdate()
|
public void SendGroupTerseUpdate()
|
||||||
{
|
{
|
||||||
|
if (IsDeleted)
|
||||||
|
return;
|
||||||
|
|
||||||
lock (m_parts)
|
lock (m_parts)
|
||||||
{
|
{
|
||||||
foreach (SceneObjectPart part in m_parts.Values)
|
foreach (SceneObjectPart part in m_parts.Values)
|
||||||
|
|
|
@ -2075,6 +2075,9 @@ if (m_shape != null) {
|
||||||
if (ParentGroup.IsSelected && IsAttachment)
|
if (ParentGroup.IsSelected && IsAttachment)
|
||||||
return;
|
return;
|
||||||
|
|
||||||
|
if (ParentGroup.IsDeleted)
|
||||||
|
return;
|
||||||
|
|
||||||
clientFlags &= ~(uint) PrimFlags.CreateSelected;
|
clientFlags &= ~(uint) PrimFlags.CreateSelected;
|
||||||
|
|
||||||
if (remoteClient.AgentId == _ownerID)
|
if (remoteClient.AgentId == _ownerID)
|
||||||
|
@ -2179,16 +2182,7 @@ if (m_shape != null) {
|
||||||
}
|
}
|
||||||
|
|
||||||
/// <summary>
|
/// <summary>
|
||||||
/// Send a terse update to the client.
|
/// Send a terse update to all clients
|
||||||
/// </summary>
|
|
||||||
/// <param name="remoteClient"></param>
|
|
||||||
// public void SendTerseUpdate(IClientAPI remoteClient)
|
|
||||||
// {
|
|
||||||
// SendTerseUpdateToClient(remoteClient);
|
|
||||||
// }
|
|
||||||
|
|
||||||
/// <summary>
|
|
||||||
///
|
|
||||||
/// </summary>
|
/// </summary>
|
||||||
public void SendTerseUpdateToAllClients()
|
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)
|
public void SetAttachmentPoint(uint AttachmentPoint)
|
||||||
{
|
{
|
||||||
this.AttachmentPoint = AttachmentPoint;
|
this.AttachmentPoint = AttachmentPoint;
|
||||||
|
|
Loading…
Reference in New Issue