diff options
Diffstat (limited to 'ThirdParty/3Di/LoadBalancer/LoadBalancerPlugin.cs')
-rw-r--r-- | ThirdParty/3Di/LoadBalancer/LoadBalancerPlugin.cs | 12 |
1 files changed, 9 insertions, 3 deletions
diff --git a/ThirdParty/3Di/LoadBalancer/LoadBalancerPlugin.cs b/ThirdParty/3Di/LoadBalancer/LoadBalancerPlugin.cs index 4440db1..3ef0ef7 100644 --- a/ThirdParty/3Di/LoadBalancer/LoadBalancerPlugin.cs +++ b/ThirdParty/3Di/LoadBalancer/LoadBalancerPlugin.cs | |||
@@ -1007,10 +1007,16 @@ namespace OpenSim.ApplicationPlugins.LoadBalancer | |||
1007 | m_log.ErrorFormat("[SPLITSCENE] [LocalUpdatePacket] ScenePresence is missing... ({0})", agentID.ToString()); | 1007 | m_log.ErrorFormat("[SPLITSCENE] [LocalUpdatePacket] ScenePresence is missing... ({0})", agentID.ToString()); |
1008 | return; | 1008 | return; |
1009 | } | 1009 | } |
1010 | 1010 | if (pre.ControllingClient is LLClientView) | |
1011 | if (((LLClientView) pre.ControllingClient).IsActive) | ||
1012 | { | 1011 | { |
1013 | pre.ControllingClient.OutPacket(packet, throttlePacketType); | 1012 | if (((LLClientView)pre.ControllingClient).IsActive) |
1013 | { | ||
1014 | ((LLClientView)pre.ControllingClient).OutPacket(packet, throttlePacketType); | ||
1015 | } | ||
1016 | else | ||
1017 | { | ||
1018 | PacketPool.Instance.ReturnPacket(packet); | ||
1019 | } | ||
1014 | } | 1020 | } |
1015 | else | 1021 | else |
1016 | { | 1022 | { |