mirror of
https://github.com/opensim/opensim.git
synced 2026-08-05 08:55:56 +08:00
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.
This commit is contained in:
@@ -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);
|
||||
|
||||
Reference in New Issue
Block a user