diff options
author | dahlia | 2015-05-13 15:59:58 -0700 |
---|---|---|
committer | dahlia | 2015-05-13 15:59:58 -0700 |
commit | 6a48c87cd20e9df5ebdd2898872618455106be4c (patch) | |
tree | a321a9d9eaf29e0276a7da9856fcfaf045b450a0 /OpenSim/Region/ClientStack/Linden/UDP | |
parent | Adding back command to clear region's user cache (diff) | |
download | opensim-SC-6a48c87cd20e9df5ebdd2898872618455106be4c.zip opensim-SC-6a48c87cd20e9df5ebdd2898872618455106be4c.tar.gz opensim-SC-6a48c87cd20e9df5ebdd2898872618455106be4c.tar.bz2 opensim-SC-6a48c87cd20e9df5ebdd2898872618455106be4c.tar.xz |
resolve possible nullref when sending appearance packet. Thanks to zadark for pointing this out.
Diffstat (limited to 'OpenSim/Region/ClientStack/Linden/UDP')
-rw-r--r-- | OpenSim/Region/ClientStack/Linden/UDP/LLClientView.cs | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/OpenSim/Region/ClientStack/Linden/UDP/LLClientView.cs b/OpenSim/Region/ClientStack/Linden/UDP/LLClientView.cs index 855342f..284c5fa 100644 --- a/OpenSim/Region/ClientStack/Linden/UDP/LLClientView.cs +++ b/OpenSim/Region/ClientStack/Linden/UDP/LLClientView.cs | |||
@@ -3747,6 +3747,7 @@ namespace OpenSim.Region.ClientStack.LindenUDP | |||
3747 | avp.Sender.IsTrial = false; | 3747 | avp.Sender.IsTrial = false; |
3748 | avp.Sender.ID = agentID; | 3748 | avp.Sender.ID = agentID; |
3749 | avp.AppearanceData = new AvatarAppearancePacket.AppearanceDataBlock[0]; | 3749 | avp.AppearanceData = new AvatarAppearancePacket.AppearanceDataBlock[0]; |
3750 | avp.AppearanceHover = new AvatarAppearancePacket.AppearanceHoverBlock[0]; | ||
3750 | //m_log.DebugFormat("[CLIENT]: Sending appearance for {0} to {1}", agentID.ToString(), AgentId.ToString()); | 3751 | //m_log.DebugFormat("[CLIENT]: Sending appearance for {0} to {1}", agentID.ToString(), AgentId.ToString()); |
3751 | OutPacket(avp, ThrottleOutPacketType.Task); | 3752 | OutPacket(avp, ThrottleOutPacketType.Task); |
3752 | } | 3753 | } |