diff options
author | Melanie Thielker | 2009-05-04 14:25:19 +0000 |
---|---|---|
committer | Melanie Thielker | 2009-05-04 14:25:19 +0000 |
commit | 36dd346a91a4dab41e7acb5edc1a8b62f32757bc (patch) | |
tree | 15569139ecde844ddd5d24c60c60ccedf522ba6a /OpenSim/Region/ClientStack | |
parent | Add a skeleton class, "RemoteConsole", for a console that uses REST (diff) | |
download | opensim-SC_OLD-36dd346a91a4dab41e7acb5edc1a8b62f32757bc.zip opensim-SC_OLD-36dd346a91a4dab41e7acb5edc1a8b62f32757bc.tar.gz opensim-SC_OLD-36dd346a91a4dab41e7acb5edc1a8b62f32757bc.tar.bz2 opensim-SC_OLD-36dd346a91a4dab41e7acb5edc1a8b62f32757bc.tar.xz |
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.
Diffstat (limited to 'OpenSim/Region/ClientStack')
-rw-r--r-- | OpenSim/Region/ClientStack/LindenUDP/LLClientView.cs | 12 |
1 files changed, 12 insertions, 0 deletions
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 | |||
3141 | } | 3141 | } |
3142 | } | 3142 | } |
3143 | 3143 | ||
3144 | public void FlushPrimUpdates() | ||
3145 | { | ||
3146 | while (m_primFullUpdates.Count > 0) | ||
3147 | { | ||
3148 | ProcessPrimFullUpdates(this, null); | ||
3149 | } | ||
3150 | while (m_primTerseUpdates.Count > 0) | ||
3151 | { | ||
3152 | ProcessPrimTerseUpdates(this, null); | ||
3153 | } | ||
3154 | } | ||
3155 | |||
3144 | public void SendAssetUploadCompleteMessage(sbyte AssetType, bool Success, UUID AssetFullID) | 3156 | public void SendAssetUploadCompleteMessage(sbyte AssetType, bool Success, UUID AssetFullID) |
3145 | { | 3157 | { |
3146 | AssetUploadCompletePacket newPack = new AssetUploadCompletePacket(); | 3158 | AssetUploadCompletePacket newPack = new AssetUploadCompletePacket(); |