Thank you very much, Melanie for a patch that:
If the m_controllingClient member if a ScenePresence is null, that would cause a CTB. This patch fixes it.0.6.0-stable
parent
83bfd29af8
commit
76a3bde76e
|
@ -1403,6 +1403,12 @@ namespace OpenSim.Region.Environment.Scenes
|
||||||
/// <param name="remoteAvatar"></param>
|
/// <param name="remoteAvatar"></param>
|
||||||
public void SendFullUpdateToOtherClient(ScenePresence remoteAvatar)
|
public void SendFullUpdateToOtherClient(ScenePresence remoteAvatar)
|
||||||
{
|
{
|
||||||
|
if(remoteAvatar == null)
|
||||||
|
return;
|
||||||
|
IClientAPI rc=remoteAvatar.ControllingClient;
|
||||||
|
if(rc == null)
|
||||||
|
return;
|
||||||
|
|
||||||
remoteAvatar.m_controllingClient.SendAvatarData(m_regionInfo.RegionHandle, m_firstname, m_lastname, m_uuid,
|
remoteAvatar.m_controllingClient.SendAvatarData(m_regionInfo.RegionHandle, m_firstname, m_lastname, m_uuid,
|
||||||
LocalId, m_pos, m_appearance.Texture.ToBytes(),
|
LocalId, m_pos, m_appearance.Texture.ToBytes(),
|
||||||
m_parentID);
|
m_parentID);
|
||||||
|
|
Loading…
Reference in New Issue