resolve possible nullref when sending appearance packet. Thanks to zadark for pointing this out.

fsassets
dahlia 2015-05-13 15:59:58 -07:00
parent 3c2886cd75
commit 6a48c87cd2
1 changed files with 1 additions and 0 deletions

View File

@ -3747,6 +3747,7 @@ namespace OpenSim.Region.ClientStack.LindenUDP
avp.Sender.IsTrial = false;
avp.Sender.ID = agentID;
avp.AppearanceData = new AvatarAppearancePacket.AppearanceDataBlock[0];
avp.AppearanceHover = new AvatarAppearancePacket.AppearanceHoverBlock[0];
//m_log.DebugFormat("[CLIENT]: Sending appearance for {0} to {1}", agentID.ToString(), AgentId.ToString());
OutPacket(avp, ThrottleOutPacketType.Task);
}