From 772f88d2e5f4824e06575650736ec11b6ea564d8 Mon Sep 17 00:00:00 2001 From: Justin Clarke Casey Date: Fri, 16 May 2008 16:37:31 +0000 Subject: * Removing unnecessary LLUUID.Zero check from AssetCache * This revision also includes a very temporary fix for the fact that NREs are received because of a missing avatar apperance in grid mode --- OpenSim/Region/Environment/Scenes/ScenePresence.cs | 7 ++++++- 1 file changed, 6 insertions(+), 1 deletion(-) (limited to 'OpenSim/Region/Environment/Scenes/ScenePresence.cs') diff --git a/OpenSim/Region/Environment/Scenes/ScenePresence.cs b/OpenSim/Region/Environment/Scenes/ScenePresence.cs index 44805cc..bdf1bba 100644 --- a/OpenSim/Region/Environment/Scenes/ScenePresence.cs +++ b/OpenSim/Region/Environment/Scenes/ScenePresence.cs @@ -1451,9 +1451,14 @@ namespace OpenSim.Region.Environment.Scenes /// /// public void SendInitialData() - { + { + // justincc - very temporary fix for the fact that m_apperance appears to be null at this point in grid mode + if (null == m_appearance) + m_appearance = new AvatarAppearance(); + m_controllingClient.SendAvatarData(m_regionInfo.RegionHandle, m_firstname, m_lastname, m_uuid, LocalId, m_pos, m_appearance.Texture.ToBytes(), m_parentID); + if (!m_isChildAgent) { m_scene.InformClientOfNeighbours(this); -- cgit v1.1