From 36dd346a91a4dab41e7acb5edc1a8b62f32757bc Mon Sep 17 00:00:00 2001 From: Melanie Thielker Date: Mon, 4 May 2009 14:25:19 +0000 Subject: 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. --- OpenSim/Region/ClientStack/LindenUDP/LLClientView.cs | 12 ++++++++++++ 1 file changed, 12 insertions(+) (limited to 'OpenSim/Region/ClientStack/LindenUDP/LLClientView.cs') diff --git a/OpenSim/Region/ClientStack/LindenUDP/LLClientView.cs b/OpenSim/Region/ClientStack/LindenUDP/LLClientView.cs index 7cd324c..ae93e11 100644 --- a/OpenSim/Region/ClientStack/LindenUDP/LLClientView.cs +++ b/OpenSim/Region/ClientStack/LindenUDP/LLClientView.cs @@ -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(); -- cgit v1.1