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
Charles Krinke 2008-05-25 19:29:25 +00:00
parent 83bfd29af8
commit 76a3bde76e
1 changed files with 6 additions and 0 deletions

View File

@ -1403,6 +1403,12 @@ namespace OpenSim.Region.Environment.Scenes
/// <param name="remoteAvatar"></param>
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,
LocalId, m_pos, m_appearance.Texture.ToBytes(),
m_parentID);