diff options
Diffstat (limited to 'OpenSim/Region')
-rw-r--r-- | OpenSim/Region/ClientStack/LindenUDP/LLImageManager.cs | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/OpenSim/Region/ClientStack/LindenUDP/LLImageManager.cs b/OpenSim/Region/ClientStack/LindenUDP/LLImageManager.cs index 169bab2..75f4e1d 100644 --- a/OpenSim/Region/ClientStack/LindenUDP/LLImageManager.cs +++ b/OpenSim/Region/ClientStack/LindenUDP/LLImageManager.cs | |||
@@ -210,6 +210,8 @@ namespace OpenSim.Region.ClientStack.LindenUDP | |||
210 | int threshold; | 210 | int threshold; |
211 | if (m_lastloopprocessed == 0) | 211 | if (m_lastloopprocessed == 0) |
212 | { | 212 | { |
213 | if (m_client.PacketHandler == null || m_client.PacketHandler.PacketQueue == null || m_client.PacketHandler.PacketQueue.TextureThrottle == null) | ||
214 | return; | ||
213 | //This is decent for a semi fast machine, but we'll calculate it more accurately based on time below | 215 | //This is decent for a semi fast machine, but we'll calculate it more accurately based on time below |
214 | threshold = m_client.PacketHandler.PacketQueue.TextureThrottle.Current / 6300; | 216 | threshold = m_client.PacketHandler.PacketQueue.TextureThrottle.Current / 6300; |
215 | m_lastloopprocessed = DateTime.Now.Ticks; | 217 | m_lastloopprocessed = DateTime.Now.Ticks; |