resolve possible nullref when sending appearance packet. Thanks to zadark for pointing this out.
parent
3c2886cd75
commit
6a48c87cd2
|
@ -3747,6 +3747,7 @@ namespace OpenSim.Region.ClientStack.LindenUDP
|
||||||
avp.Sender.IsTrial = false;
|
avp.Sender.IsTrial = false;
|
||||||
avp.Sender.ID = agentID;
|
avp.Sender.ID = agentID;
|
||||||
avp.AppearanceData = new AvatarAppearancePacket.AppearanceDataBlock[0];
|
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());
|
//m_log.DebugFormat("[CLIENT]: Sending appearance for {0} to {1}", agentID.ToString(), AgentId.ToString());
|
||||||
OutPacket(avp, ThrottleOutPacketType.Task);
|
OutPacket(avp, ThrottleOutPacketType.Task);
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in New Issue