diff options
author | UbitUmarov | 2014-11-06 19:03:25 +0000 |
---|---|---|
committer | UbitUmarov | 2014-11-06 19:03:25 +0000 |
commit | ead78764abfe3d91f79b55ec200bd0d5e8ca2151 (patch) | |
tree | 5f1cb7c178e908b74a3e0e661e67184e54d93f15 /OpenSim/Region/ClientStack/Linden/UDP | |
parent | BUG fix : fix a very silly bug uint in place of ulong :( (diff) | |
download | opensim-SC-ead78764abfe3d91f79b55ec200bd0d5e8ca2151.zip opensim-SC-ead78764abfe3d91f79b55ec200bd0d5e8ca2151.tar.gz opensim-SC-ead78764abfe3d91f79b55ec200bd0d5e8ca2151.tar.bz2 opensim-SC-ead78764abfe3d91f79b55ec200bd0d5e8ca2151.tar.xz |
allow drawdistance to change between 32 and MaxDrawDistance, configurable
value default to 256, so should have no effect. Next steps needed: reduce
client udp Throttles with distance, update childreen connections with
significat movement and view range changes, Make disconnect be delayed in time, make disconnects be receiving region action not sender on region changes. Allow distance less than 256 to only connect to visible regions, even none. Make this be relative to camera and not agent position or region centers as it is now.
Diffstat (limited to 'OpenSim/Region/ClientStack/Linden/UDP')
-rw-r--r-- | OpenSim/Region/ClientStack/Linden/UDP/LLClientView.cs | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/OpenSim/Region/ClientStack/Linden/UDP/LLClientView.cs b/OpenSim/Region/ClientStack/Linden/UDP/LLClientView.cs index 4b15e9f..b9646c7 100644 --- a/OpenSim/Region/ClientStack/Linden/UDP/LLClientView.cs +++ b/OpenSim/Region/ClientStack/Linden/UDP/LLClientView.cs | |||
@@ -5765,8 +5765,8 @@ namespace OpenSim.Region.ClientStack.LindenUDP | |||
5765 | || (x.State != m_thisAgentUpdateArgs.State) // significant if Stats changed | 5765 | || (x.State != m_thisAgentUpdateArgs.State) // significant if Stats changed |
5766 | || (qdelta1 < QDELTABody) // significant if body rotation above(below cos) threshold | 5766 | || (qdelta1 < QDELTABody) // significant if body rotation above(below cos) threshold |
5767 | // Ignoring head rotation altogether, because it's not being used for anything interesting up the stack | 5767 | // Ignoring head rotation altogether, because it's not being used for anything interesting up the stack |
5768 | // || (qdelta2 < QDELTAHead) // significant if head rotation above(below cos) threshold | 5768 | // || (qdelta2 < QDELTAHead) // significant if head rotation above(below cos) threshold |
5769 | || (x.Far != m_thisAgentUpdateArgs.Far) // significant if far distance changed | 5769 | || (Math.Abs(x.Far - m_thisAgentUpdateArgs.Far) >= 32) // significant if far distance changed |
5770 | ; | 5770 | ; |
5771 | //if (movementSignificant) | 5771 | //if (movementSignificant) |
5772 | //{ | 5772 | //{ |