Add a method to flush the prim update buffers once a frame, since the timer

appear to be too slow to be useful, or fail too fire. I may remove the timers
as a consequence if this.
This commit is contained in:
Melanie Thielker
2009-05-04 14:25:19 +00:00
parent eedf216eba
commit 36dd346a91
8 changed files with 37 additions and 0 deletions

View File

@@ -3141,6 +3141,18 @@ namespace OpenSim.Region.ClientStack.LindenUDP
}
}
public void FlushPrimUpdates()
{
while (m_primFullUpdates.Count > 0)
{
ProcessPrimFullUpdates(this, null);
}
while (m_primTerseUpdates.Count > 0)
{
ProcessPrimTerseUpdates(this, null);
}
}
public void SendAssetUploadCompleteMessage(sbyte AssetType, bool Success, UUID AssetFullID)
{
AssetUploadCompletePacket newPack = new AssetUploadCompletePacket();