diff options
author | Justin Clark-Casey (justincc) | 2014-07-29 18:09:11 +0100 |
---|---|---|
committer | Justin Clark-Casey (justincc) | 2014-07-29 18:09:11 +0100 |
commit | 0f87a99e54d0665824d055ce1dcf5f4240dec0bc (patch) | |
tree | e6675f9a29b63ecdaf7e9574f9f5cfd6fc8c322b /OpenSim/Region/Framework/Scenes/Scene.cs | |
parent | Add "debug scene set appear-refresh true|false" to control whether periodic a... (diff) | |
download | opensim-SC_OLD-0f87a99e54d0665824d055ce1dcf5f4240dec0bc.zip opensim-SC_OLD-0f87a99e54d0665824d055ce1dcf5f4240dec0bc.tar.gz opensim-SC_OLD-0f87a99e54d0665824d055ce1dcf5f4240dec0bc.tar.bz2 opensim-SC_OLD-0f87a99e54d0665824d055ce1dcf5f4240dec0bc.tar.xz |
Add debug mechanism for only sending 1 in N AgentUpdate packets to child agents.
Allows experiments in manually reducing updates under heavy load.
Activated by "debug scene set client-upd-per" console command.
In a simple test, can send as few as every 4th update before observed movement starts becoming disturbingly rubber-banded.
Diffstat (limited to '')
-rw-r--r-- | OpenSim/Region/Framework/Scenes/Scene.cs | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/OpenSim/Region/Framework/Scenes/Scene.cs b/OpenSim/Region/Framework/Scenes/Scene.cs index 482e803..ab1d22c 100644 --- a/OpenSim/Region/Framework/Scenes/Scene.cs +++ b/OpenSim/Region/Framework/Scenes/Scene.cs | |||
@@ -247,6 +247,11 @@ namespace OpenSim.Region.Framework.Scenes | |||
247 | /// </summary> | 247 | /// </summary> |
248 | public float ClientVelocityUpdateTolerance { get; set; } | 248 | public float ClientVelocityUpdateTolerance { get; set; } |
249 | 249 | ||
250 | /// <summary> | ||
251 | /// If greater than 1, we only send terse updates to child agents on every n updates. | ||
252 | /// </summary> | ||
253 | public int ChildTerseUpdatePeriod { get; set; } | ||
254 | |||
250 | protected float m_defaultDrawDistance = 255.0f; | 255 | protected float m_defaultDrawDistance = 255.0f; |
251 | public float DefaultDrawDistance | 256 | public float DefaultDrawDistance |
252 | { | 257 | { |