Thank you kindly, Melanie for a patch that adds a two-stage
check. It seems there may be a race. For me, this patch, just as it is here, fixes it.0.6.0-stable
parent
fb1c7e62d2
commit
5f2b8fd5e1
|
@ -1403,7 +1403,13 @@ 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 || remoteAvatar.ControllingClient == null)
|
// 2 stage check is needed.
|
||||||
|
if (remoteAvatar == null)
|
||||||
|
return;
|
||||||
|
IClientAPI cl=remoteAvatar.ControllingClient;
|
||||||
|
if(cl == null)
|
||||||
|
return;
|
||||||
|
if(m_appearance.Texture == null)
|
||||||
return;
|
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,
|
||||||
|
|
Loading…
Reference in New Issue