diff options
author | UbitUmarov | 2014-11-06 22:25:16 +0000 |
---|---|---|
committer | UbitUmarov | 2014-11-06 22:25:16 +0000 |
commit | caddabb5c4f62767305a589e9d818ae3457a8030 (patch) | |
tree | 89d3c6715ec83d1ce8358674b48227c9d77ee2e3 /OpenSim/Region/ClientStack/Linden/UDP/LLClientView.cs | |
parent | allow drawdistance to change between 32 and MaxDrawDistance, configurable (diff) | |
download | opensim-SC-caddabb5c4f62767305a589e9d818ae3457a8030.zip opensim-SC-caddabb5c4f62767305a589e9d818ae3457a8030.tar.gz opensim-SC-caddabb5c4f62767305a589e9d818ae3457a8030.tar.bz2 opensim-SC-caddabb5c4f62767305a589e9d818ae3457a8030.tar.xz |
scale ChildAgentThrottles with distance (internal to child server and not
root as was done before )
Diffstat (limited to '')
-rw-r--r-- | OpenSim/Region/ClientStack/Linden/UDP/LLClientView.cs | 7 |
1 files changed, 6 insertions, 1 deletions
diff --git a/OpenSim/Region/ClientStack/Linden/UDP/LLClientView.cs b/OpenSim/Region/ClientStack/Linden/UDP/LLClientView.cs index b9646c7..f2f7cf9 100644 --- a/OpenSim/Region/ClientStack/Linden/UDP/LLClientView.cs +++ b/OpenSim/Region/ClientStack/Linden/UDP/LLClientView.cs | |||
@@ -12344,7 +12344,12 @@ namespace OpenSim.Region.ClientStack.LindenUDP | |||
12344 | /// <param name="throttles"></param> | 12344 | /// <param name="throttles"></param> |
12345 | public void SetChildAgentThrottle(byte[] throttles) | 12345 | public void SetChildAgentThrottle(byte[] throttles) |
12346 | { | 12346 | { |
12347 | m_udpClient.SetThrottles(throttles); | 12347 | SetChildAgentThrottle(throttles, 1.0f); |
12348 | } | ||
12349 | |||
12350 | public void SetChildAgentThrottle(byte[] throttles,float factor) | ||
12351 | { | ||
12352 | m_udpClient.SetThrottles(throttles, factor); | ||
12348 | GenericCall2 handler = OnUpdateThrottles; | 12353 | GenericCall2 handler = OnUpdateThrottles; |
12349 | if (handler != null) | 12354 | if (handler != null) |
12350 | { | 12355 | { |